excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / u / utm.rb
blobdd95c490287c41ce96e6010b3a09aba7e73967b2
1 cask "utm" do
2   version "4.6.3"
3   sha256 "2ca48a6d4c7baf13560726c4280eda87fe5eb00aecf5344525ec4b94c944aa3b"
5   url "https://github.com/utmapp/UTM/releases/download/v#{version}/UTM.dmg",
6       verified: "github.com/utmapp/UTM/"
7   name "UTM"
8   desc "Virtual machines UI using QEMU"
9   homepage "https://mac.getutm.app/"
11   livecheck do
12     url :url
13     regex(/v?(\d+(?:[.-]\d+)+)/i)
14     strategy :github_latest
15   end
17   conflicts_with cask: "utm@beta"
18   depends_on macos: ">= :big_sur"
20   app "UTM.app"
21   binary "#{appdir}/UTM.app/Contents/MacOS/utmctl"
23   uninstall quit: "com.utmapp.UTM"
25   zap trash: [
26     "~/Library/Application Scripts/*com.utmapp*",
27     "~/Library/Containers/com.utmapp*",
28     "~/Library/Group Containers/*.com.utmapp.UTM",
29     "~/Library/Preferences/com.utmapp.UTM.plist",
30     "~/Library/Saved Application State/com.utmapp.UTM.savedState",
31   ]
32 end