cask "rancher" do arch arm: "aarch64", intel: "x86_64" version "1.16.0" sha256 arm: "9b1d56a5d606751edba48022a454f891e792f7aa36c38e681271b2104f59f7f4", intel: "c63599d038ffd292e5d49c0f41ed520c0ef1a86dec66a1735d47e9aa9e533b20" url "https://github.com/rancher-sandbox/rancher-desktop/releases/download/v#{version}/Rancher.Desktop-#{version}.#{arch}.dmg", verified: "github.com/rancher-sandbox/rancher-desktop/" name "Rancher Desktop" desc "Kubernetes and container management on the desktop" homepage "https://rancherdesktop.io/" livecheck do url :url strategy :github_latest end auto_updates true conflicts_with cask: "docker" app "Rancher Desktop.app" uninstall quit: "io.rancherdesktop.app", delete: [ "/opt/rancher-desktop", "/private/etc/sudoers.d/zzzzz-rancher-desktop-lima", # zzzzz is not a typo "/private/var/run/docker.sock", "/private/var/run/rancher-desktop-*", ] zap trash: [ "~/.kuberlr", "~/.rd", "~/Library/Application Support/Caches/rancher-desktop-updater", "~/Library/Application Support/Rancher Desktop", "~/Library/Application Support/rancher-desktop", "~/Library/Caches/io.rancherdesktop.app*", "~/Library/Caches/rancher-desktop", "~/Library/Logs/rancher-desktop", "~/Library/Preferences/ByHost/io.rancherdesktop.app*", "~/Library/Preferences/io.rancherdesktop.app.plist", "~/Library/Preferences/rancher-desktop", "~/Library/Saved Application State/io.rancherdesktop.app.savedState", ] end