2015-12-18 09:36:47 +08:00
|
|
|
cask 'sqlectron' do
|
2016-04-18 08:52:28 +08:00
|
|
|
version '1.6.0'
|
|
|
|
sha256 '134917373edee38fea54e96eebfed92ead2f388abe589b4e92dac1c46f8aeeb9'
|
2015-12-18 09:36:47 +08:00
|
|
|
|
2016-02-11 06:26:08 +08:00
|
|
|
# github.com/sqlectron/sqlectron-gui was verified as official when first introduced to the cask
|
2016-04-18 08:52:28 +08:00
|
|
|
url "https://github.com/sqlectron/sqlectron-gui/releases/download/v#{version}/Sqlectron-#{version}-mac.zip"
|
2015-12-26 04:57:40 +08:00
|
|
|
appcast 'https://github.com/sqlectron/sqlectron-gui/releases.atom',
|
2016-04-18 08:52:28 +08:00
|
|
|
checkpoint: 'fe52c6cf05144ef4b470cf423e51826ad133cf4ba78f3a901457d10a7c2efdaf'
|
2015-12-18 09:36:47 +08:00
|
|
|
name 'Sqlectron'
|
|
|
|
homepage 'https://sqlectron.github.io/'
|
|
|
|
license :mit
|
|
|
|
|
2016-01-18 09:27:20 +08:00
|
|
|
depends_on macos: '>= :mountain_lion'
|
2016-01-04 03:19:34 +08:00
|
|
|
|
2015-12-18 09:36:47 +08:00
|
|
|
app 'Sqlectron.app'
|
|
|
|
|
|
|
|
postflight do
|
|
|
|
suppress_move_to_applications
|
|
|
|
end
|
|
|
|
|
2016-01-18 09:27:20 +08:00
|
|
|
zap delete: [
|
|
|
|
'~/.sqlectron.json',
|
|
|
|
'~/Library/Application Support/Sqlectron',
|
|
|
|
]
|
2015-12-18 09:36:47 +08:00
|
|
|
end
|