homebrew-cask/Casks/now.rb

27 lines
987 B
Ruby

cask 'now' do
version '3.8.13'
sha256 '0649dc793d37ab6b98025cce8edba657db534e2fc2c59280ed85ada6750db44d'
# 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: '58364b58afa3c9d6840c1033c526beae5e077795d2e54cdaaed8922908bdf328'
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 trash: [
'~/.now.json',
'~/Library/Application Support/Now',
'~/Library/Caches/co.zeit.now',
'~/Library/Caches/co.zeit.now.ShipIt',
'~/Library/Preferences/co.zeit.now.plist',
'~/Library/Preferences/co.zeit.now.helper.plist',
]
end