excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / n / nvidia-geforce-now.rb
blob0e880137098286ecc82f3f53a8abfc94c9438f43
1 cask "nvidia-geforce-now" do
2   version "2.0.68.154"
3   sha256 :no_check
5   url "https://download.nvidia.com/gfnpc/GeForceNOW-release.dmg"
6   name "NVIDIA GeForce NOW"
7   desc "Cloud gaming platform"
8   homepage "https://www.nvidia.com/en-us/geforce-now/download/"
10   livecheck do
11     url "https://play.geforcenow.com/mall/shared/assets/config/config.json"
12     strategy :json do |json|
13       json.dig("build", "version")
14     end
15   end
17   depends_on macos: ">= :el_capitan"
19   # Renamed for consistency: app name is different in the Finder and in a shell.
20   app "GeForceNOW.app", target: "NVIDIA GeForce NOW.app"
22   zap trash: [
23     "~/Library/Application Support/NVIDIA/GeForceNOW",
24     "~/Library/Preferences/com.nvidia.gfnpc.mall.helper.plist",
25   ]
26 end