homebrew-cask/Casks/sqlectron.rb

26 lines
812 B
Ruby

cask 'sqlectron' do
version '1.7.0'
sha256 'b976b32023a9441cbc0b53bcad32d285e1afc1fb2449c7791335a4d4344cc7be'
# 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: '2aac2320402d0111bd4f27e042da9e7aecc824517b0b0393f121f40052eaf3df'
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