🔧 调整安装shell
This commit is contained in:
parent
ae6c72115f
commit
673dad66bf
@ -46,8 +46,9 @@ DOWNLOAD_SERVICE_URL="https://mirror.ghproxy.com/https://github.com/chaos-zhu/ea
|
|||||||
|
|
||||||
ARCH=$(uname -m)
|
ARCH=$(uname -m)
|
||||||
|
|
||||||
|
echo "***********************系统架构: ${$ARCH}***********************"
|
||||||
if [ "$ARCH" = "x86_64" ] ; then
|
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
|
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"
|
DOWNLOAD_FILE_URL="https://mirror.ghproxy.com/https://github.com/chaos-zhu/easynode/releases/download/v2.1.7/easynode-client-arm64"
|
||||||
else
|
else
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"client": "nodemon ./app/main.js",
|
"client": "nodemon ./app/main.js",
|
||||||
"pkgwin": "pkg . -t node16-win-x64",
|
"pkgwin": "pkg . -t node16-win-x64",
|
||||||
"pkglinux:x86": "pkg . -t node16-linux-x64 -o dist/easynode-client-x86",
|
"pkglinux:x64": "pkg . -t node16-linux-x64 -o dist/easynode-client-x64",
|
||||||
"pkglinux:arm": "pkg . -t node16-linux-arm64 -o dist/easynode-client-arm64"
|
"pkglinux:arm64": "pkg . -t node16-linux-arm64 -o dist/easynode-client-arm64"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user