2017-04-18 03:42:10 +08:00
|
|
|
cask 'now' do
|
2017-11-14 21:53:22 +08:00
|
|
|
version '3.8.0'
|
|
|
|
sha256 '253ef49bc10267726c214dff1d5ebb65d8702331cc50a84ed4c484473610bf56'
|
2017-04-18 03:42:10 +08:00
|
|
|
|
|
|
|
# github.com/zeit/now-desktop was verified as official when first introduced to the cask
|
|
|
|
url "https://github.com/zeit/now-desktop/releases/download/#{version}/now-desktop-#{version}-mac.zip"
|
|
|
|
appcast 'https://github.com/zeit/now-desktop/releases.atom',
|
2017-11-14 21:53:22 +08:00
|
|
|
checkpoint: '2ada73ffb17ff08fa046fe53b765249a695da2ac57a1fe637ecf65a5f73bb1b5'
|
2017-04-18 03:42:10 +08:00
|
|
|
name 'Now'
|
|
|
|
homepage 'https://zeit.co/now'
|
|
|
|
|
|
|
|
app 'Now.app'
|
|
|
|
|
2017-07-16 12:37:07 +08:00
|
|
|
uninstall delete: '/usr/local/bin/now',
|
|
|
|
login_item: 'Now',
|
|
|
|
signal: ['TERM', 'co.zeit.now']
|
|
|
|
|
2017-04-18 03:42:10 +08:00
|
|
|
zap delete: [
|
|
|
|
'~/Library/Caches/co.zeit.now',
|
|
|
|
'~/Library/Caches/co.zeit.now.ShipIt',
|
2017-06-30 10:53:57 +08:00
|
|
|
],
|
|
|
|
trash: [
|
|
|
|
'~/.now.json',
|
2017-07-16 12:37:07 +08:00
|
|
|
'~/Library/Application Support/Now',
|
2017-04-18 03:42:10 +08:00
|
|
|
'~/Library/Preferences/co.zeit.now.plist',
|
|
|
|
'~/Library/Preferences/co.zeit.now.helper.plist',
|
|
|
|
]
|
|
|
|
end
|