From 05df0d336cc2f0878ae2e48e5e1cb48a0ac196cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Sieroci=C5=84ski?= Date: Thu, 12 Dec 2024 17:08:09 +0100 Subject: [PATCH] feat: Add universal arch support --- gah | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gah b/gah index d652ab8..5e2e36a 100755 --- a/gah +++ b/gah @@ -11,7 +11,7 @@ set -e #-------------------------------------------------- #region Constants -VERSION="0.2.2" +VERSION="0.3.0" HELP_STRING="Type 'gah help' to show help." GAH_CACHE_DIR="$HOME/.cache/gah" @@ -95,8 +95,8 @@ function get_arch() { function get_arch_regexp_part() { case $(get_arch) in - amd64) echo '[_-](amd64|x86_64)' ;; - arm64) echo '[_-](arm64|aarch64)' ;; + amd64) echo '[_-](amd64|x86_64|universal)' ;; + arm64) echo '[_-](arm64|aarch64|universal)' ;; *) throw_error 11 "Your CPU/OS architecture is not supported" ;; esac }