diff --git a/Formula/kdash.rb b/Formula/kdash.rb index 599cedd..b100e3b 100644 --- a/Formula/kdash.rb +++ b/Formula/kdash.rb @@ -4,14 +4,17 @@ class Kdash < Formula desc "A fast and simple dashboard for Kubernetes written in Rust" homepage "https://github.com/kdash-rs/kdash" - if OS.mac? - url "https://github.com/kdash-rs/kdash/releases/download/v0.4.7/kdash-macos.tar.gz" - sha256 "0534fe81d713c584b4ea87f8486d3e29420022a1a3fff964b7e97c174a75e6b3" + if OS.mac? and Hardware::CPU.arm? + url "https://github.com/kdash-rs/kdash/releases/download/v0.4.8/kdash-macos-arm64.tar.gz" + sha256 "06c57e7470d04a0d6ab570c6e65ebfede52450ac474e9c3997c358e00313b762" + elsif OS.mac? and Hardware::CPU.intel? + url "https://github.com/kdash-rs/kdash/releases/download/v0.4.8/kdash-macos.tar.gz" + sha256 "8c6e815cc01dac4f081d6bc0c9b1ca9744e0d854d8c43c9cbf361ebf67985d48" else - url "https://github.com/kdash-rs/kdash/releases/download/v0.4.7/kdash-linux.tar.gz" - sha256 "fc4a6c76fee30205148cbc01f5a10226609764d1474a305e0a85e5054acc2f2e" + url "https://github.com/kdash-rs/kdash/releases/download/v0.4.8/kdash-linux.tar.gz" + sha256 "b7378a93b4cc856da407d77e708abe0787a053985fe43545649d138c0de794eb" end - version "v0.4.7" + version "v0.4.8" license "MIT" def install