homebrew-cask/Casks/whatsapp.rb

23 lines
788 B
Ruby

cask 'whatsapp' do
version '0.2.5370'
sha256 'b945444f77a253344aebff4b124224c3f97e43c4efbf673db3415f952a982916'
url "https://web.whatsapp.com/desktop/mac/files/release-#{version}.zip"
appcast 'https://web.whatsapp.com/desktop/mac/releases?platform=darwin&arch=x64',
checkpoint: 'a80469025d5d1a8e3640da25f66e15c19d5d6e852f3e6aa87b28751404952efa'
name 'WhatsApp'
homepage 'https://www.whatsapp.com/'
auto_updates true
app 'WhatsApp.app'
zap delete: [
'~/Library/Application Support/WhatsApp',
'~/Library/Application Support/WhatsApp.ShipIt',
'~/Library/Caches/WhatsApp',
'~/Library/Preferences/WhatsApp.plist',
'~/Library/Preferences/WhatsApp-Helper.plist',
]
end