24 lines
814 B
Ruby
24 lines
814 B
Ruby
cask 'whatsapp' do
|
|
version '0.3.2276'
|
|
sha256 'feb0b6b883632b08e1ba2064c52d53e4bf512ecce97c77379fa86d7022a3825a'
|
|
|
|
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
|
|
|
|
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
|