Update get_arch for arm64 apple silicon

main
Buddy 5 days ago
parent 0eb8b16790
commit 5fcf30897a

@ -6,7 +6,7 @@ set -euo pipefail
source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh"
APP=go
VERSION=${VERSION:-1.23.1}
VERSION=${VERSION:-1.23.4}
DEST="${XDG_DATA_HOME}/apps/releases/${APP}"
URL=https://dl.google.com/go/go${VERSION}.$(get_os)-$(get_arch).tar.gz

@ -48,6 +48,7 @@ get_arch() (
i386*) echo 386 ;;
i686*) echo 386 ;;
arm) echo arm ;;
arm64) echo arm64 ;;
armv7*) echo arm ;;
armv6*) echo arm ;;
armv8*) echo arm ;;

Loading…
Cancel
Save