29 lines
738 B
Ruby
29 lines
738 B
Ruby
cask "infra" do
|
|
version "0.46.0"
|
|
sha256 "d33af6e480e0fc04f7ad97b18a662fced3f0e7bc56cfc91fc13c3e1d85ad10ff"
|
|
|
|
url "https://download.infra.app/darwin/Infra-darwin-universal-#{version}.zip"
|
|
name "infra"
|
|
desc "Kubernetes desktop client"
|
|
homepage "https://infra.app/"
|
|
|
|
livecheck do
|
|
url "https://api.infra.app/update/darwin/0.0.1"
|
|
strategy :page_match do |page|
|
|
JSON.parse(page)["version"]
|
|
end
|
|
end
|
|
|
|
auto_updates true
|
|
|
|
app "Infra.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/infra",
|
|
"~/Library/Caches/app.infra.infra",
|
|
"~/Library/Caches/app.infra.infra.ShipIt",
|
|
"~/Library/Preferences/app.infra.infra.plist",
|
|
"~/Library/Saved Application State/app.infra.infra.savedState",
|
|
]
|
|
end
|