diff --git a/Casks/rancher.rb b/Casks/rancher.rb new file mode 100644 index 0000000000..80416e490d --- /dev/null +++ b/Casks/rancher.rb @@ -0,0 +1,34 @@ +cask "rancher" do + version "0.5.0" + sha256 "0ebdfb3e070e1c525a08730ccea761a040d366fa800c735870ff328080f8fa55" + + url "https://github.com/rancher-sandbox/rancher-desktop/releases/download/v#{version}/Rancher.Desktop-#{version}.dmg", + verified: "github.com/rancher-sandbox/rancher-desktop/" + name "Rancher Desktop" + desc "Kubernetes and container management on the desktop" + homepage "https://rancherdesktop.io/" + + auto_updates true + conflicts_with formula: %w[ + helm + kubernetes-cli + ] + + app "Rancher Desktop.app" + binary "#{appdir}/Rancher Desktop.app/Contents/Resources/resources/darwin/bin/helm" + binary "#{appdir}/Rancher Desktop.app/Contents/Resources/resources/darwin/bin/kim" + binary "#{appdir}/Rancher Desktop.app/Contents/Resources/resources/darwin/bin/kubectl" + binary "#{appdir}/Rancher Desktop.app/Contents/Resources/resources/darwin/bin/nerdctl" + + uninstall quit: "io.rancherdesktop.app" + + zap trash: [ + "~/.kuberlr", + "~/Library/Application Support/rancher-desktop", + "~/Library/Caches/rancher-desktop", + "~/Library/Logs/rancher-desktop", + "~/Library/Preferences/io.rancherdesktop.app.plist", + "~/Library/Preferences/rancher-desktop", + "~/Library/Saved Application State/io.rancherdesktop.app.savedState", + ] +end diff --git a/audit_exceptions/github_prerelease_allowlist.json b/audit_exceptions/github_prerelease_allowlist.json index aad587549f..7905c35841 100644 --- a/audit_exceptions/github_prerelease_allowlist.json +++ b/audit_exceptions/github_prerelease_allowlist.json @@ -26,6 +26,7 @@ "ql-ansilove": "all", "profilecreator": "all", "qdesktop": "all", + "rancher": "all", "seaglass": "all", "servpane": "all", "shadowsocksx-ng-r": "all",