21 lines
840 B
Ruby
21 lines
840 B
Ruby
cask "nvidia-geforce-now" do
|
|
version "2.0.22.96,34C0E3"
|
|
sha256 "f4be911d0f5f0af825ad91eeb595b8da29bb7306ea0ba6ff4c8221f8d748dbd4"
|
|
|
|
url "https://ota-downloads.nvidia.com/ota/GeForceNOW-release_#{version.after_comma}.dmg"
|
|
appcast "https://ota.nvidia.com/release/available?product=GFN-mac&version=#{version.before_comma}&channel=OFFICIAL",
|
|
must_contain: "[]" # Only happens when there are no newer versions
|
|
name "NVIDIA GeForce NOW"
|
|
homepage "https://www.nvidia.com/en-us/geforce/products/geforce-now/"
|
|
|
|
depends_on macos: ">= :yosemite"
|
|
|
|
# Renamed for consistency: app name is different in the Finder and in a shell.
|
|
app "GeForceNOW.app", target: "NVIDIA GeForce NOW.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/NVIDIA/GeForceNOW",
|
|
"~/Library/Preferences/com.nvidia.gfnpc.mall.helper.plist",
|
|
]
|
|
end
|