forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadguard.rb
23 lines (19 loc) · 848 Bytes
/
adguard.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
cask 'adguard' do
version '2.1.2.595'
sha256 'cc2e62aa3b5f9c94bab0caedca782610e72961fe7d268201701b5dd1fdd6951d'
url "https://static.adguard.com/mac/release/AdGuard-#{version}.dmg"
appcast 'https://static.adguard.com/mac/adguard-release-appcast.xml'
name 'Adguard for Mac'
homepage 'https://adguard.com/'
pkg 'AdGuard.pkg'
uninstall pkgutil: 'com.adguard.mac.adguard-pkg'
zap trash: [
'/Library/Application Support/com.adguard.Adguard',
'~/Library/Application Support/Adguard',
'~/Library/Application Support/com.adguard.Adguard',
'~/Library/Caches/com.adguard.Adguard',
'~/Library/Cookies/com.adguard.Adguard.binarycookies',
'~/Library/Logs/Adguard',
'~/Library/Preferences/com.adguard.Adguard.plist',
]
end