homebrew-cask/Casks/whatsapp.rb

25 lines
850 B
Ruby

cask 'whatsapp' do
version '0.3.1847'
sha256 'b8432b55476f6f367dcda1869512a004c0a32925e88e236de19f56f72854697a'
url "https://web.whatsapp.com/desktop/mac/files/release-#{version}.zip"
appcast 'https://web.whatsapp.com/desktop/mac/releases?platform=darwin&arch=x64'
name 'WhatsApp'
homepage 'https://www.whatsapp.com/'
auto_updates true
depends_on macos: '>= :mavericks'
app 'WhatsApp.app'
zap trash: [
'~/Library/Application Support/WhatsApp',
'~/Library/Application Support/WhatsApp.ShipIt',
'~/Library/Caches/WhatsApp',
'~/Library/Caches/WhatsApp.ShipIt',
'~/Library/Preferences/WhatsApp.plist',
'~/Library/Preferences/WhatsApp-Helper.plist',
'~/Library/Saved Application State/WhatsApp.savedState',
]
end