homebrew-cask/Casks/sqlectron.rb

25 lines
798 B
Ruby

cask 'sqlectron' do
version '1.18.0'
sha256 '54535c09aac745889f6cadb59e89853ead38b989b04f0f5b52f6f316f6ed3e0b'
# 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