excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / v / vpn-by-google-one.rb
blobcafa39d9ff3564c4eb42c65c0d6fb3a4eacbbab3
1 cask "vpn-by-google-one" do
2   version "1.9.0.1"
3   sha256 :no_check
5   url "https://dl.google.com/google-one/VpnByGoogleOne.dmg"
6   name "VPN by Google One"
7   desc "VPN provided by Google One"
8   homepage "https://one.google.com/about/vpn"
10   disable! date: "2024-06-20", because: :discontinued
12   auto_updates true
13   depends_on macos: ">= :big_sur"
15   pkg "VpnByGoogleOne.pkg"
17   # Some launchctl and pkgutil items are shared with other Google apps, they should only be removed in the zap stanza
18   # See: https://github.com/Homebrew/homebrew-cask/pull/92704#issuecomment-727163169
19   # launchctl: com.google.keystone.daemon, com.google.keystone.system.agent, com.google.keystone.system.xpcservice
20   # pkgutil: com.google.pkg.Keystone
21   uninstall launchctl: "VPN by Google One",
22             quit:      "com.google.one",
23             pkgutil:   "com.google.one"
25   zap launchctl: [
26         "com.google.keystone.agent",
27         "com.google.keystone.daemon",
28         "com.google.keystone.system.agent",
29         "com.google.keystone.system.xpcservice",
30         "com.google.keystone.xpcservice",
31       ],
32       pkgutil:   "com.google.pkg.Keystone",
33       trash:     [
34         "~/Library/Application Scripts/com.google.one",
35         "~/Library/Containers/com.google.one",
36         "~/Library/Group Containers/EQHXZ8M8AV.com.google.one",
37         "~/Library/LaunchAgents/VPN by Google One.plist",
38       ]
39 end