homebrew-cask/Casks/whatsapp.rb

23 lines
781 B
Ruby

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