Files
homebrew-taps/Casks/lolcathost.rb
T

45 lines
1.4 KiB
Ruby

# This file was generated by GoReleaser. DO NOT EDIT.
cask "lolcathost" do
version "0.2.34"
on_macos do
on_arm do
sha256 "7e13a7f87624a31c19e6607f253cf594a468c3405d9fb1038ae80a8d34d11251"
url "https://github.com/lukaszraczylo/lolcathost/releases/download/v#{version}/lolcathost-#{version}-darwin-arm64.tar.gz"
end
on_intel do
sha256 "69f43cc9b45c7a901c4333ef66b1d15a0fcb2f5fe0e86f194df5b7fea2df9b64"
url "https://github.com/lukaszraczylo/lolcathost/releases/download/v#{version}/lolcathost-#{version}-darwin-amd64.tar.gz"
end
end
on_linux do
on_arm do
sha256 "e35484823d9c80c34ec49534111225944d8f1ba8b87721da2f758c9d07e9c6f7"
url "https://github.com/lukaszraczylo/lolcathost/releases/download/v#{version}/lolcathost-#{version}-linux-arm64.tar.gz"
end
on_intel do
sha256 "64b9148845f109da7258045da0fd23556e0ff6af803f5e5a85b8d0a07abb2342"
url "https://github.com/lukaszraczylo/lolcathost/releases/download/v#{version}/lolcathost-#{version}-linux-amd64.tar.gz"
end
end
name "lolcathost"
desc "Dynamic host management tool with TUI"
homepage "https://github.com/lukaszraczylo/lolcathost"
livecheck do
skip "Auto-generated on release."
end
binary "lolcathost"
postflight do
if OS.mac?
system_command "/usr/bin/xattr",
args: ["-dr", "com.apple.quarantine", "#{staged_path}/lolcathost"]
end
end
zap :not_required
end