Files
homebrew-taps/Casks/kportal.rb
T
2026-01-28 03:48:08 +00:00

49 lines
1.6 KiB
Ruby

# This file was generated by GoReleaser. DO NOT EDIT.
cask "kportal" do
name "kportal"
desc "Modern Kubernetes port-forward manager with interactive TUI"
homepage "https://lukaszraczylo.github.io/kportal"
version "0.2.79"
livecheck do
skip "Auto-generated on release."
end
binary "kportal"
on_macos do
on_intel do
url "https://github.com/lukaszraczylo/kportal/releases/download/v#{version}/kportal-#{version}-darwin-amd64.tar.gz",
verified: "github.com/lukaszraczylo/kportal"
sha256 "6fdc24df6438d947475f8d3c43432755cebb296597e1a32e9f81af5c39ef2cd4"
end
on_arm do
url "https://github.com/lukaszraczylo/kportal/releases/download/v#{version}/kportal-#{version}-darwin-arm64.tar.gz",
verified: "github.com/lukaszraczylo/kportal"
sha256 "596cb489bad245fdb085d5be9e158e98ea512d47c42ec59798e86bae14a0222e"
end
end
on_linux do
on_intel do
url "https://github.com/lukaszraczylo/kportal/releases/download/v#{version}/kportal-#{version}-linux-amd64.tar.gz",
verified: "github.com/lukaszraczylo/kportal"
sha256 "1f6999df52eb34693309508cebea8511abd59bf7c34d0a5080dfa1b7d211974d"
end
on_arm do
url "https://github.com/lukaszraczylo/kportal/releases/download/v#{version}/kportal-#{version}-linux-arm64.tar.gz",
verified: "github.com/lukaszraczylo/kportal"
sha256 "46390462d43dd1dcfd2cc2d982f6254be04fa07063a4a7b07db801ab7d86e63e"
end
end
postflight do
if OS.mac?
system_command "/usr/bin/xattr",
args: ["-dr", "com.apple.quarantine", "#{staged_path}/kportal"]
end
end
# No zap stanza required
end