Skip to content

Commit

Permalink
feat: Add universal arch support
Browse files Browse the repository at this point in the history
  • Loading branch information
marverix committed Dec 12, 2024
1 parent ebf2030 commit 05df0d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gah
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit 05df0d3

Please sign in to comment.