From d909b3c764b68bd92eb6b5b8d8f750c0f4c066a6 Mon Sep 17 00:00:00 2001 From: feeeei <540203430@qq.com> Date: Thu, 30 May 2024 01:48:33 +0800 Subject: [PATCH] fix arm64 architecture error (#224) --- node/release_autorun.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/release_autorun.sh b/node/release_autorun.sh index bfb81e2..69105e5 100755 --- a/node/release_autorun.sh +++ b/node/release_autorun.sh @@ -3,7 +3,7 @@ start_process() { version=$(cat config/version.go | grep -A 1 "func GetVersion() \[\]byte {" | grep -Eo '0x[0-9a-fA-F]+' | xargs printf "%d.%d.%d") if [[ "$OSTYPE" == "linux-gnu"* ]]; then - if [[ $arch == arm* ]]; then + if [[ $(uname -m) == "aarch64"* ]]; then ./node-$version-linux-arm64 & main_process_id=$! else