From c80a03f00ec5523f04edd3c18efb5eda0a4ebbe6 Mon Sep 17 00:00:00 2001 From: pulsation Date: Wed, 1 May 2024 18:13:03 +0200 Subject: [PATCH] feat(tad): add arm64 arch fix(tad): add minimum OS version --- Casks/t/tad.rb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Casks/t/tad.rb b/Casks/t/tad.rb index b55241d344675..a8deee67e8378 100644 --- a/Casks/t/tad.rb +++ b/Casks/t/tad.rb @@ -1,8 +1,12 @@ cask "tad" do + arch arm: "aarch64", intel: "x86-64" + suffix = on_arch_conditional arm: "-arm64", intel: "" + version "0.13.0" - sha256 "4c71f6f6a0fadf65891663d1a0462dd8d3576a4c62bdd8721012cbdd61ee1fee" + sha256 intel: "4c71f6f6a0fadf65891663d1a0462dd8d3576a4c62bdd8721012cbdd61ee1fee", + arm: "9c129a65fdf94b4b32b6e26d8836a56d4284bff9a6e1df657cc23d19e5c802b1" - url "https://github.com/antonycourtney/tad/releases/download/v#{version}/Tad-#{version}.dmg", + url "https://github.com/antonycourtney/tad/releases/download/v#{version}/Tad-#{version}#{suffix}.dmg", verified: "github.com/antonycourtney/tad/" name "Tad" desc "Desktop application for viewing and analyzing tabular data" @@ -13,6 +17,8 @@ strategy :github_latest end + depends_on macos: ">= :catalina" + app "Tad.app" binary "#{appdir}/Tad.app/Contents/Resources/tad.sh", target: "tad"