From f95b1760d48f7bb12058e6d4950be1c25bf6cd08 Mon Sep 17 00:00:00 2001 From: Tian Feng Date: Wed, 6 Sep 2023 13:41:02 -0700 Subject: [PATCH] use amd64 --- scripts/bundle.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/bundle.sh b/scripts/bundle.sh index 5741b74a..43893a8c 100644 --- a/scripts/bundle.sh +++ b/scripts/bundle.sh @@ -14,10 +14,9 @@ cp -r ./lib/ ./bundle/lib/ cp -r bin/ bundle/bin/ cp package.json bundle/package.json cp package-lock.json bundle/package-lock.json -cp $(which node) bundle/ -wget "https://nodejs.org/dist/v18.17.1/node-v18.17.1-darwin-arm64.tar.gz" -tar xf node-v18.17.1-darwin-arm64.tar.gz -mv node-v18.17.1-darwin-arm64 bundle/node +wget "https://nodejs.org/dist/v18.17.1/node-v18.17.1-darwin-x64.tar.gz" +tar xf node-v18.17.1-darwin-x64.tar.gz +mv node-v18.17.1-darwin-x64 bundle/node pushd bundle/