homebrew-cask/Casks/r/rhino.rb

27 lines
830 B
Ruby

cask "rhino" do
version "8.3.24009.15002"
sha256 "0a3103738d652fd7ae9eedd8fd7b4d7262d41020b0b2e37bd4383ffd6b39ca39"
url "https://files.mcneel.com/rhino/#{version.major}/mac/releases/rhino_#{version}.dmg",
verified: "mcneel.com/rhino/"
name "Rhinoceros"
desc "3D model creator"
homepage "https://www.rhino3d.com/"
livecheck do
url "https://files.mcneel.com/rhino/#{version.major}/mac/updates/commercialUpdates.xml"
strategy :sparkle
end
auto_updates true
depends_on macos: ">= :monterey"
app "Rhino #{version.major}.app"
zap trash: [
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.mcneel.rhinoceros.sfl*",
"~/Library/Caches/com.mcneel.rhinoceros",
"~/Library/Preferences/com.mcneel.rhinoceros.plist",
]
end