homebrew-cask/Casks/m/metashapepro.rb

22 lines
667 B
Ruby

cask "metashapepro" do
version "2.1.1"
sha256 "2e349a961c93ce264d6309b27513b326f97a5cc319cf01574fdffa5739022191"
url "http://download.agisoft.com/metashape-pro_#{version.dots_to_underscores}.dmg"
name "Agisoft Metashape Professional 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 "MetashapePro.app"
zap trash: [
"~/Library/Preferences/com.agisoft.Metashape Pro.plist",
"~/Library/Saved Application State/com.agisoft.metashape.professional.savedState",
]
end