From e75f39589dbde086e2913cbafeff1c5ac9d94e53 Mon Sep 17 00:00:00 2001 From: Tanmay Pereira Naik Date: Sun, 10 Aug 2025 02:24:39 +0530 Subject: [PATCH] fix: update script failure on Apple Silicon (arm64) --- global_install_scripts/update_talisman.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/global_install_scripts/update_talisman.bash b/global_install_scripts/update_talisman.bash index b24de8e5..b8194b7f 100755 --- a/global_install_scripts/update_talisman.bash +++ b/global_install_scripts/update_talisman.bash @@ -5,6 +5,7 @@ shopt -s extglob DEBUG=${DEBUG:-''} FORCE_DOWNLOAD=${FORCE_DOWNLOAD:-''} declare UPDATE_TYPE="" +E_UNSUPPORTED_ARCH=5 if [[ $# -gt 0 && $1 =~ talisman-binary.* ]]; then UPDATE_TYPE='talisman-binary' fi @@ -92,7 +93,7 @@ function run() { OS="${OS}_arm64" ;; *) - echo_error "Talisman currently only supports x86 and x86_64 architectures." + echo_error "Talisman currently only supports x86, x86_64 and arm64 architectures." echo_error "If this is a problem for you, please open an issue: https://github.com/${INSTALL_ORG_REPO}/issues/new" exit $E_UNSUPPORTED_ARCH ;;