excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / r / rustdesk.rb
blobc21b786207ad525742bfa16985bcbed4fdccfec9
1 cask "rustdesk" do
2   arch arm: "aarch64", intel: "x86_64"
4   version "1.3.3"
5   sha256 arm:   "24c1112597203c22af9e7f67744625d432e6e80ea1ffda84daeb0f1f73941d32",
6          intel: "97fa459500748dd5fa70fa8782b65e30ba53c9b5e09b8a63582f3cbb5e1e6abd"
8   url "https://github.com/rustdesk/rustdesk/releases/download/#{version}/rustdesk-#{version}-#{arch}.dmg",
9       verified: "github.com/rustdesk/rustdesk/"
10   name "RustDesk"
11   desc "Open source virtual/remote desktop application"
12   homepage "https://rustdesk.com/"
14   livecheck do
15     url :url
16     regex(/^v?(\d+(?:[.-]\d+)+)$/i)
17     strategy :github_latest
18   end
20   depends_on macos: ">= :mojave"
22   app "RustDesk.app"
24   uninstall quit: "com.carriez.rustdesk"
26   zap trash: [
27     "/Library/LaunchAgents/com.carriez.RustDesk_server.plist",
28     "/Library/LaunchDaemons/com.carriez.RustDesk_service.plist",
29     "~/Library/Logs/RustDesk",
30     "~/Library/Preferences/com.carriez.RustDesk",
31     "~/Library/Saved Application State/com.carriez.rustdesk.savedState",
32   ]
33 end