Merge pull request #198799 from Homebrew/bump-huly-0.6.411
[Homebrew/homebrew-cask.git] / Casks / n / nordlayer.rb
blob04aeb39c4f49a075c93ca96fca3c4f9acf8345b8
1 cask "nordlayer" do
2   version "3.5.3"
3   sha256 "5f7cd023d381f9e1ae1a3e5914c74f2dbf868d6934c8d9d4da0947a0162c895d"
5   url "https://downloads.nordlayer.com/mac/latest/NordLayer_v#{version}.pkg"
6   name "NordLayer"
7   desc "Security software for business"
8   homepage "https://nordlayer.com/"
10   livecheck do
11     url "https://downloads.nordlayer.com/mac/update.xml"
12     strategy :sparkle, &:short_version
13   end
15   auto_updates true
16   depends_on macos: ">= :big_sur"
18   pkg "NordLayer_v#{version}.pkg"
20   uninstall launchctl: [
21               "com.nordvpn.macos.teams",
22               "com.nordvpn.macos.teams.assistant",
23               "com.nordvpn.macos.teams.helper",
24             ],
25             quit:      "com.nordvpn.macos.teams",
26             pkgutil:   "com.nordvpn.macos.teams"
28   zap trash: [
29     "~/Library/Application Scripts/com.nordvpn.macos.teams",
30     "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.nordvpn.macos.teams.sfl*",
31     "~/Library/Application Support/com.nordvpn.macos.teams",
32     "~/Library/Caches/com.nordvpn.macos.teams",
33     "~/Library/Containers/com.nordvpn.macos.teams",
34     "~/Library/HTTPStorages/com.nordvpn.macos.teams",
35     "~/Library/Preferences/com.nordvpn.macos.teams.plist",
36   ]
37 end