From 673dad66bfd97f984a67c9fed5d3bc0fe4aa1be8 Mon Sep 17 00:00:00 2001 From: chaos-zhu Date: Fri, 16 Aug 2024 11:24:53 +0800 Subject: [PATCH] =?UTF-8?q?:wrench:=20=E8=B0=83=E6=95=B4=E5=AE=89=E8=A3=85?= =?UTF-8?q?shell?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/easynode-client-install.sh | 3 ++- client/package.json | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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": "",