homebrew-cask/Casks/sqlectron.rb

26 lines
812 B
Ruby

cask 'sqlectron' do
version '1.6.0'
sha256 '134917373edee38fea54e96eebfed92ead2f388abe589b4e92dac1c46f8aeeb9'
# 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: 'fe52c6cf05144ef4b470cf423e51826ad133cf4ba78f3a901457d10a7c2efdaf'
name 'Sqlectron'
homepage 'https://sqlectron.github.io/'
license :mit
depends_on macos: '>= :mountain_lion'
app 'Sqlectron.app'
postflight do
suppress_move_to_applications
end
zap delete: [
'~/.sqlectron.json',
'~/Library/Application Support/Sqlectron',
]
end