diff --git a/client/easynode-client-install.sh b/client/easynode-client-install.sh index 57e0f6c..60392b0 100644 --- a/client/easynode-client-install.sh +++ b/client/easynode-client-install.sh @@ -46,8 +46,9 @@ DOWNLOAD_SERVICE_URL="https://mirror.ghproxy.com/https://github.com/chaos-zhu/ea ARCH=$(uname -m) +echo "***********************系统架构: ${$ARCH}***********************" if [ "$ARCH" = "x86_64" ] ; then - DOWNLOAD_FILE_URL="https://mirror.ghproxy.com/https://github.com/chaos-zhu/easynode/releases/download/v2.1.7/easynode-client-x86" + DOWNLOAD_FILE_URL="https://mirror.ghproxy.com/https://github.com/chaos-zhu/easynode/releases/download/v2.1.7/easynode-client-x64" elif [ "$ARCH" = "aarch64" ] ; then DOWNLOAD_FILE_URL="https://mirror.ghproxy.com/https://github.com/chaos-zhu/easynode/releases/download/v2.1.7/easynode-client-arm64" else diff --git a/client/package.json b/client/package.json index f1d4def..a89c349 100644 --- a/client/package.json +++ b/client/package.json @@ -9,8 +9,8 @@ "scripts": { "client": "nodemon ./app/main.js", "pkgwin": "pkg . -t node16-win-x64", - "pkglinux:x86": "pkg . -t node16-linux-x64 -o dist/easynode-client-x86", - "pkglinux:arm": "pkg . -t node16-linux-arm64 -o dist/easynode-client-arm64" + "pkglinux:x64": "pkg . -t node16-linux-x64 -o dist/easynode-client-x64", + "pkglinux:arm64": "pkg . -t node16-linux-arm64 -o dist/easynode-client-arm64" }, "keywords": [], "author": "",