homebrew-cask/Casks/whatsapp.rb

25 lines
850 B
Ruby

cask 'whatsapp' do
version '0.3.1242'
sha256 '386114da0a7a38ba8cf9f786167f4efb76b958fd4a1375c2af8e74d8743ffd6e'
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