homebrew-cask/Casks/whatsapp.rb

23 lines
786 B
Ruby
Raw Normal View History

2016-05-11 10:09:46 +08:00
cask 'whatsapp' do
version '0.2.6968'
sha256 '3aa9086d9812d0cfa16b40a0316600544aeae66cb127df00db08a5d6576bf627'
2016-05-11 10:09:46 +08:00
2017-11-08 11:56:00 +08:00
url "https://web.whatsapp.com/desktop/mac/files/release-#{version}.zip"
2016-05-11 10:09:46 +08:00
appcast 'https://web.whatsapp.com/desktop/mac/releases?platform=darwin&arch=x64',
checkpoint: '2ea3377a1dc9d694f6601845854e7a044101f8da3466024b773cecb1e128ac9e'
2016-05-11 10:09:46 +08:00
name 'WhatsApp'
homepage 'https://www.whatsapp.com/'
2017-05-03 07:15:35 +08:00
auto_updates true
2016-05-11 10:09:46 +08:00
app 'WhatsApp.app'
zap delete: '~/Library/Caches/WhatsApp',
trash: [
2016-05-11 10:09:46 +08:00
'~/Library/Application Support/WhatsApp',
'~/Library/Application Support/WhatsApp.ShipIt',
'~/Library/Preferences/WhatsApp.plist',
2017-04-06 01:36:15 +08:00
'~/Library/Preferences/WhatsApp-Helper.plist',
2016-05-11 10:09:46 +08:00
]
end