homebrew-cask/Casks/nylas-n1.rb

26 lines
1.1 KiB
Ruby

cask 'nylas-n1' do
version '0.4.52-5c342df'
sha256 '8d1d047a9ba9b186e59da8fcef15dda1b0bb552deea93f60b5c63fd40f12e6fa'
# 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.zip"
appcast 'https://edgehill.nylas.com/update-check?platform=darwin&arch=64',
checkpoint: '6a61d15b714accbb4ba83adcd1e53634d0999f904e68088a673ca64a3c573e16'
name 'Nylas N1'
homepage 'https://www.nylas.com/'
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