25 lines
849 B
Ruby
25 lines
849 B
Ruby
cask 'whatsapp' do
|
|
version '0.3.722'
|
|
sha256 '5702028ae040d1b2e40641c7f7236b68aa4532e90c3aafcab22402cf7363bd53'
|
|
|
|
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
|