25 lines
885 B
Ruby
25 lines
885 B
Ruby
cask 'whatsapp' do
|
|
version '2.2019.6'
|
|
sha256 'e9bfd2262c25a0369d230266e033cb3f3e4db63b6fff1d1f603d3bd0747e3762'
|
|
|
|
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/ByHost/WhatsApp.ShipIt.*.plist',
|
|
'~/Library/Preferences/WhatsApp.plist',
|
|
'~/Library/Preferences/WhatsApp-Helper.plist',
|
|
'~/Library/Saved Application State/WhatsApp.savedState',
|
|
]
|
|
end
|