excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / l / lens.rb
blob46b0c7ba332d2705d948adc250fcee1be9837f60
1 cask "lens" do
2   arch arm: "-arm64"
4   version "2024.11.261604"
5   sha256 arm:   "69a90908b9d00409d476bae789371a852faadff90fd3d9a568f4d5f055b969f2",
6          intel: "31041119309ef8b1075c98bace39e910d6ed95634ff97547f6b59744c93edbac"
8   url "https://api.k8slens.dev/binaries/Lens-#{version}-latest#{arch}.dmg"
9   name "Lens"
10   desc "Kubernetes IDE"
11   homepage "https://k8slens.dev/"
13   livecheck do
14     url "https://api.k8slens.dev/binaries/latest-mac.json/"
15     strategy :json do |json|
16       json["version"]&.sub("-latest", "")
17     end
18   end
20   auto_updates true
22   app "Lens.app"
24   zap trash: [
25     "~/Library/Application Support/Lens",
26     "~/Library/Caches/Lens",
27     "~/Library/Preferences/com.electron.kontena-lens.plist",
28     "~/Library/Saved Application State/com.electron.kontena-lens.savedState",
29   ]
30 end