homebrew-cask/Casks/whatsapp.rb

23 lines
781 B
Ruby

cask 'whatsapp' do
version '0.2.7315'
sha256 '55cb75a2e064eea1667abca9d365849b3320abd07d46b43ed9e020db0e14481c'
url "https://web.whatsapp.com/desktop/mac/files/release-#{version}.zip"
appcast 'https://web.whatsapp.com/desktop/mac/releases?platform=darwin&arch=x64',
checkpoint: 'bfa9a59adc42f8dc23becdf0f77d52e08fb0214140d9772a5002ef9df1b343a8'
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