homebrew-cask/Casks/sqlectron.rb

26 lines
812 B
Ruby

cask 'sqlectron' do
version '1.9.0'
sha256 '39aa7d83b063e5df3108f870ff291b3d1b76930418ca408fe38a74db123929e6'
# 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: '1710eb62792447fdc70bb4e79af0ab8640d13ca8da7b02ad3db2b45f17c7b509'
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