homebrew-cask/Casks/sqlectron.rb

25 lines
797 B
Ruby

cask 'sqlectron' do
version '1.8.0'
sha256 '3439536aff3793503c67d21080c52d5593c3435c431755223f8da7a6b6b9b329'
# github.com/sqlectron/sqlectron-gui was verified as official when first introduced to the cask
url "https://github.com/sqlectron/sqlectron-gui/releases/download/v#{version}/Sqlectron-#{version}-mac.zip"
appcast 'https://github.com/sqlectron/sqlectron-gui/releases.atom',
checkpoint: 'b3a8684bf721cf02f530c2a6b500ea6966cc9ea04393b1c9d930623281b97666'
name 'Sqlectron'
homepage 'https://sqlectron.github.io/'
depends_on macos: '>= :mountain_lion'
app 'Sqlectron.app'
postflight do
suppress_move_to_applications
end
zap delete: [
'~/.sqlectron.json',
'~/Library/Application Support/Sqlectron',
]
end