homebrew-cask/Casks/nylas-n1.rb

27 lines
1.1 KiB
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'nylas-n1' do
version '0.4.40-85cf726'
sha256 '668ff7119a51c5aff01dddfead4cfd9befbf51157af54a3d719ffdb0024956c1'
# amazonaws.com is the official download host per the vendor homepage
url "https://edgehill.s3-us-west-2.amazonaws.com/#{version}/darwin/x64/N1.dmg"
appcast 'https://edgehill.nylas.com/update-check?platform=darwin&arch=64',
checkpoint: 'fae87f180132f0c60fa400a632ae7d5ef5f13d3c8db924603d78483df0a96dc8'
name 'Nylas N1'
homepage 'https://www.nylas.com/n1'
license :gpl
2016-01-24 07:57:49 +08:00
auto_updates true
app 'Nylas N1.app'
zap delete: [
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.nylas.nylas-mail.sfl',
'~/Library/Application Support/com.nylas.nylas-mail.ShipIt',
'~/Library/Application Support/Nylas N1',
'~/Library/Caches/com.nylas.nylas-mail',
'~/Library/Caches/Nylas N1',
'~/Library/Preferences/com.nylas.nylas-mail.plist',
'~/Library/Saved Application State/com.nylas.nylas-mail.savedState',
]
end