homebrew-cask/Casks/metashape.rb

22 lines
645 B
Ruby

cask "metashape" do
version "1.7.5"
sha256 "89d8d43d490a908321c58efb5f83803b0b18bbe789dbfa01b3a71ea365b6d421"
url "http://download.agisoft.com/metashape_#{version.dots_to_underscores}.dmg"
name "Agisoft Metashape Standard Edition"
desc "Process digital images and generate 3D spatial data"
homepage "https://www.agisoft.com/"
livecheck do
url "https://www.agisoft.com/downloads/installer/"
regex(/Metashape\s*(\d+(?:\.\d+)+)/i)
end
app "Metashape.app"
zap trash: [
"~/Library/Preferences/com.agisoft.Metashape.plist",
"~/Library/Saved Application State/com.agisoft.metashape.standard.savedState",
]
end