excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / a / avg-antivirus.rb
blob236176f561ecc2ecdfeb688d4be5c4c3fbed0c2d
1 cask "avg-antivirus" do
2   version "4.0,2.0"
3   sha256 :no_check
5   url "https://bits.avcdn.net/productfamily_ANTIVIRUS/insttype_FREE/platform_MAC_AVG/installertype_ONLINE/build_RELEASE",
6       verified: "bits.avcdn.net/"
7   name "AVG Antivirus for Mac"
8   desc "Antivirus software"
9   homepage "https://www.avg.com/us-en/avg-antivirus-for-mac"
11   livecheck do
12     url :url
13     strategy :extract_plist
14   end
16   pkg "AVG AntiVirus.pkg"
18   uninstall launchctl: [
19               "com.avg.hub",
20               "com.avg.hub.schedule",
21               "com.avg.hub.xpc",
22             ],
23             script:    {
24               executable: "/Applications/AVGAntivirus.app/Contents/Backend/hub/uninstall.sh",
25               sudo:       true,
26             },
27             pkgutil:   "com.avg.pkg.hub"
29   zap trash: [
30     "/Library/Application Support/AVGAntivirus",
31     "/Library/Application Support/AVGHUB",
32     "~/Library/Application Support/AVGAntivirus",
33     "~/Library/Application Support/AVGHUB",
34     "~/Library/Logs/AVGHUB",
35   ]
36 end