homebrew-cask/Casks/whatsapp.rb

25 lines
850 B
Ruby

cask 'whatsapp' do
version '0.3.1071'
sha256 'a2630e7daa300ebe234df053e2ddfeb2de1a771da9d42d52372761507f544957'
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