forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathavira-vpn.rb
26 lines (21 loc) · 866 Bytes
/
avira-vpn.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
cask 'avira-vpn' do
version :latest
sha256 :no_check
# avira-update.com was verified as official when first introduced to the cask
url 'https://install.avira-update.com/package/vpn/osx/int/vpn.pkg'
name 'Avira Phantom VPN'
homepage 'https://www.avira.com/en/avira-phantom-vpn/'
depends_on macos: '>= :yosemite'
pkg 'vpn.pkg'
uninstall pkgutil: 'com.avira.pkg.AviraPhantomVpn',
quit: 'com.avira.macvpn',
launchctl: 'org.phantomDaemon',
delete: '/Applications/Avira Phantom VPN.app'
zap trash: [
'~/Library/Preferences/com.avira.macvpn.plist',
'~/Library/Application Support/PhantomVPN',
'~/Library/Caches/PhantomVPN',
'/Library/Application Support/PhantomVPN',
],
launchctl: 'org.openvpn'
end