homebrew-cask/Casks/utm.rb

32 lines
883 B
Ruby

cask "utm" do
version "2.4.1"
sha256 "cab9a7d9dc23004e10382cb496ca5336f263d5e0f7e0dff3efd5a6d12e4fd291"
url "https://github.com/utmapp/UTM/releases/download/v#{version}/UTM.dmg",
verified: "github.com/utmapp/UTM/"
name "UTM"
desc "Virtual machines UI using QEMU"
homepage "https://getutm.app/"
livecheck do
url :url
strategy :github_latest
end
conflicts_with cask: "homebrew/cask-versions/utm-beta"
app "UTM.app"
uninstall quit: "com.utmapp.UTM"
zap trash: [
"~/Library/Application Scripts/com.utmapp.QEMUHelper",
"~/Library/Application Scripts/com.utmapp.UTM",
"~/Library/Containers/com.utmapp.QEMUHelper",
"~/Library/Containers/com.utmapp.UTM",
"~/Library/Group Containers/*.com.utmapp.UTM",
"~/Library/Preferences/com.utmapp.UTM.plist",
"~/Library/Saved Application State/com.utmapp.UTM.savedState",
]
end