homebrew-cask/Casks/sqlectron.rb

25 lines
798 B
Ruby

cask 'sqlectron' do
version '1.20.2'
sha256 '90303d151090c22d45d33277adbebbda801fa0fd50bee3f0a1b2040a1a40e978'
# 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: '9c0c8874ec655fc1c90b644f710a5919a6050a1fc5323634921499fcb734e1c8'
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