2015-12-18 09:36:47 +08:00
|
|
|
cask 'sqlectron' do
|
2017-01-28 23:20:18 +08:00
|
|
|
version '1.20.1'
|
|
|
|
sha256 '770f585ceb858abd0db7e06665343ed64934712c55e634b18c6c1d389074e469'
|
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',
|
2017-01-28 23:20:18 +08:00
|
|
|
checkpoint: 'c1e85a44b74c1ffc437bda372b51f01180d4196da3f7a76942893c36da787f2f'
|
2015-12-18 09:36:47 +08:00
|
|
|
name 'Sqlectron'
|
|
|
|
homepage 'https://sqlectron.github.io/'
|
|
|
|
|
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
|