homebrew-cask/Casks/rhinoceros.rb

22 lines
903 B
Ruby

cask 'rhinoceros' do
version '5.3.1'
sha256 '0973e54e9da5d3bb5218288ecdef4ad4d032644447c7568c205cb7115a1b8063'
# mcneel.com was verified as official when first introduced to the cask
url "https://files.mcneel.com/Releases/Rhino/#{version.major}.0/Mac/Rhinoceros_#{version}.dmg"
appcast "https://files.mcneel.com/rhino/#{version.major}.0/mac/#{version.major}CcommercialUpdates.xml",
checkpoint: 'b4e600b807a804d5979bf02927d48eb6374781fc779f24a5ba2b85c574225710'
name 'Rhinoceros'
homepage 'https://www.rhino3d.com/'
auto_updates true
app 'Rhinoceros.app'
zap delete: [
'~/Library/Preferences/com.mcneel.rhinoceros.plist',
'~/Library/Caches/com.mcneel.rhinoceros',
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.mcneel.rhinoceros.sfl',
]
end