excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / v / vyprvpn.rb
blobb7291362d12771422e5d9b757da5750f4917fea8
1 cask "vyprvpn" do
2   version "5.2.0.10702"
3   sha256 "d6ec7e71ed6d0f85c778e5fcadf0073859e13aea7513f1ce4837a38700f595a7"
5   url "https://www.vyprvpn.com/downloads/vyprvpn/desktop/mac/production/#{version}/VyprVPN_v#{version.major_minor_patch}.dmg"
6   name "VyprVPN"
7   desc "VPN client"
8   homepage "https://www.vyprvpn.com/"
10   livecheck do
11     url "https://www.vyprvpn.com/vpn-apps/vpn-for-mac"
12     regex(%r{href=.*?/v?(\d+(?:\.\d+)+)/VyprVPN.*?\.dmg}i)
13   end
15   auto_updates true
16   depends_on macos: ">= :mojave"
18   app "VyprVPN.app"
20   uninstall launchctl: [
21               "com.goldenfrog.resourcewatchdog",
22               "com.goldenfrog.VyprVPNUserAgent",
23               "vyprvpnservice",
24             ],
25             quit:      "com.goldenfrog.VyprVPN*",
26             kext:      "com.goldenfrog.VyprVPNMalwareFilter"
28   zap launchctl: "org.openvpn",
29       kext:      [
30         "net.sf.tuntaposx.tap",
31         "net.sf.tuntaposx.tun",
32       ],
33       trash:     [
34         "/Library/LaunchDaemons/vyrpvpnservice.plist",
35         "/Library/PrivilegedHelperTools/vyprvpnservice",
36         "~/Library/Caches/com.goldenfrog.VyprVPN",
37         "~/Library/LaunchAgents/com.goldenfrog.VyprVPNUserAgent.plist",
38         "~/Library/Logs/GoldenFrog/VyprVPN.log",
39         "~/Library/Preferences/com.goldenfrog.VyprVPN.plist",
40       ]
41 end