homebrew-cask/Casks/nvidia-geforce-now.rb

21 lines
874 B
Ruby

cask 'nvidia-geforce-now' do
version '2.0.21.106,96AA0E'
sha256 '7419d4ed88cf8230b97edc74770a6d701528aedc47602a38d535e896d9f7aa95'
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