27 lines
834 B
Ruby
27 lines
834 B
Ruby
cask "rhino" do
|
|
version "7.26.23009.07002"
|
|
sha256 "07dfe5fd48fbb87243f8e3e12fd70a6760e7fe93e048f20dfc3accc753124c41"
|
|
|
|
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/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
|