ovito: new cask

This commit is contained in:
singularitti 2023-11-17 23:06:57 -05:00 committed by Razvan Azamfirei
parent c1623436b9
commit 1233baa07e
No known key found for this signature in database
GPG Key ID: 62E97BFCB12046BD
1 changed files with 28 additions and 0 deletions

28
Casks/o/ovito.rb Normal file
View File

@ -0,0 +1,28 @@
cask "ovito" do
arch arm: "arm64", intel: "intel"
version "3.9.4"
sha256 arm: "77b9985349f86edc44768eb9c2b70373cdb5a6de23e043c92fe7466b71701a2b",
intel: "fc46f0a18b566233d25f2269024d8a682ff0b4fdee318417d0cde71fb8f5ae21"
url "https://www.ovito.org/download/master/ovito-basic-#{version}-macos-#{arch}.dmg"
name "OVITO"
desc "Scientific data visualization and analysis software"
homepage "https://www.ovito.org/"
livecheck do
url "https://www.ovito.org/os-downloads/"
regex(/Version (\d+(?:\.\d+)*)/i)
strategy :page_match
end
auto_updates true
depends_on macos: ">= :mojave"
app "Ovito.app"
zap trash: [
"~/Library/Preferences/org.ovito.Ovito.plist",
"~/Library/Saved Application State/org.ovito.savedState",
]
end