Browse Source

fix: manual build on linux arm64 (#2041)

Suyun 8 months ago
parent
commit
5e4ba54b43
1 changed files with 1 additions and 1 deletions
  1. 1 1
      build/build.sh

+ 1 - 1
build/build.sh

@@ -53,7 +53,7 @@ esac
 
 
 UNAME_ARCH=$( uname -m )
 UNAME_ARCH=$( uname -m )
 
 
-if [[ "${UNAME_ARCH}" == "arm64" ]]; then
+if [[ "${UNAME_ARCH}" == "aarch64" || "${UNAME_ARCH}" == "arm64" ]]; then
   export VSCODE_ARCH="arm64"
   export VSCODE_ARCH="arm64"
 elif [[ "${UNAME_ARCH}" == "ppc64le" ]]; then
 elif [[ "${UNAME_ARCH}" == "ppc64le" ]]; then
   export VSCODE_ARCH="ppc64le"
   export VSCODE_ARCH="ppc64le"