homebrew-cask/Casks/rhino.rb

27 lines
834 B
Ruby

cask "rhino" do
version "7.12.21313.06342"
sha256 "2a2703605fea3a533f76a8f89e99c587ef09cc1524ae6b1a46f70673e9b32e85"
url "https://files.mcneel.com/rhino/#{version.major}/mac/releases/rhino_#{version}.dmg",
verified: "mcneel.com/"
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, &:version
end
auto_updates true
depends_on macos: ">= :mojave"
app "Rhino #{version.major}.app"
zap trash: [
"~/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