29 lines
1.0 KiB
Ruby
29 lines
1.0 KiB
Ruby
cask 'now' do
|
|
version '2.2.1'
|
|
sha256 'b3e4979da58db651591adb17753a934a1ed2a660b9bc7d9db5533105c98fb8e3'
|
|
|
|
# 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',
|
|
checkpoint: 'ce157e2545771cbdbff3d157fae0d1587101a34910964d4878282c4817e96af1'
|
|
name 'Now'
|
|
homepage 'https://zeit.co/now'
|
|
|
|
app 'Now.app'
|
|
|
|
uninstall delete: '/usr/local/bin/now',
|
|
login_item: 'Now',
|
|
signal: ['TERM', 'co.zeit.now']
|
|
|
|
zap delete: [
|
|
'~/Library/Caches/co.zeit.now',
|
|
'~/Library/Caches/co.zeit.now.ShipIt',
|
|
],
|
|
trash: [
|
|
'~/.now.json',
|
|
'~/Library/Application Support/Now',
|
|
'~/Library/Preferences/co.zeit.now.plist',
|
|
'~/Library/Preferences/co.zeit.now.helper.plist',
|
|
]
|
|
end
|