homebrew-cask/Casks/nylas-n1.rb

27 lines
1.1 KiB
Ruby

cask 'nylas-n1' do
version '0.4.45-7637265'
sha256 '550867275f1b72256989409ea9ef2fcfbb1eb4aa920b91b1cd0283a6bd0e173f'
# edgehill.s3-us-west-2.amazonaws.com was verified as official when first introduced to the cask
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: '2c50861ecacabfac6e9bcd47940dd523da2f94825466f1ff06f4f0d794c81264'
name 'Nylas N1'
homepage 'https://www.nylas.com/n1'
license :gpl
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