2017-03-04 12:20:12 +08:00
|
|
|
cask 'avg-antivirus' do
|
|
|
|
version :latest
|
|
|
|
sha256 :no_check
|
|
|
|
|
2018-11-06 11:15:38 +08:00
|
|
|
# s-install.avcdn.net/mac-av was verified as official when first introduced to the cask
|
|
|
|
url 'https://s-install.avcdn.net/mac-av/10_10/AAVG/avg_mac_security_online.dmg'
|
2017-03-04 12:20:12 +08:00
|
|
|
name 'AVG Antivirus for Mac'
|
2017-07-20 13:15:21 +08:00
|
|
|
homepage 'https://www.avg.com/us-en/avg-antivirus-for-mac'
|
2017-03-04 12:20:12 +08:00
|
|
|
|
|
|
|
pkg 'Install AVG AntiVirus.pkg'
|
|
|
|
|
2018-11-06 11:15:38 +08:00
|
|
|
uninstall script: {
|
|
|
|
executable: '/Applications/AVGAntivirus.app/Contents/Backend/utils/com.avg.uninstall.app/Contents/Resources/uninstall.sh',
|
|
|
|
sudo: true,
|
|
|
|
},
|
|
|
|
pkgutil: 'com.avg.pkg.hub',
|
|
|
|
launchctl: [
|
|
|
|
'com.avg.hub',
|
|
|
|
'com.avg.hub.schedule',
|
|
|
|
'com.avg.hub.xpc',
|
|
|
|
]
|
|
|
|
|
|
|
|
zap trash: [
|
|
|
|
'/Library/Application Support/AVGAntivirus',
|
|
|
|
'/Library/Application Support/AVGHUB',
|
|
|
|
'~/Library/Application Support/AVGAntivirus',
|
|
|
|
'~/Library/Application Support/AVGHUB',
|
|
|
|
'~/Library/Logs/AVGHUB',
|
|
|
|
]
|
2017-03-04 12:20:12 +08:00
|
|
|
end
|