added aarch64
@@ -10,7 +10,7 @@ VERSION="$1"
ARCH=""
# Get the architecture (CPU, OS) of the current system as a string.
-# Only MacOS/x86_64/ARM64 and Linux/x86_64 architectures are supported.
+# Only MacOS/x86_64/ARM64 and Linux/x86_64/ARM64 architectures are supported.
get_architecture() {
_ostype="$(uname -s)"
_cputype="$(uname -m)"
@@ -38,7 +38,7 @@ get_architecture() {
x86_64 | x86-64 | x64 | amd64)
_cputype=x86_64
;;
- arm64)
+ arm64 | aarch64)
_cputype=arm64
;;
*)
