homebrew-cask/Casks/sqlectron.rb

26 lines
812 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: '11aad5e73fe048d6b6fc19a72c1fd785be9b11d9aa45cf165580057770e462c7'
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