From 172d12b5aed93c14ffed66ec81bb08dc116ab761 Mon Sep 17 00:00:00 2001 From: Tian Feng Date: Wed, 6 Sep 2023 15:37:53 -0700 Subject: [PATCH] use curl --- scripts/bundle-mac.sh | 2 +- scripts/bundle-win.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/bundle-mac.sh b/scripts/bundle-mac.sh index f59e4315..a52bb9b3 100644 --- a/scripts/bundle-mac.sh +++ b/scripts/bundle-mac.sh @@ -18,7 +18,7 @@ cp -r ./lib/ ./bundle/lib/ cp -r bin/ bundle/bin/ cp package.json bundle/package.json cp package-lock.json bundle/package-lock.json -wget $NODE_URL +curl -o $NODE_TAR_FILE $NODE_URL tar xf $NODE_TAR_FILE mv $NODE_DIR bundle/node diff --git a/scripts/bundle-win.sh b/scripts/bundle-win.sh index 21759fbd..638b01f2 100644 --- a/scripts/bundle-win.sh +++ b/scripts/bundle-win.sh @@ -18,7 +18,7 @@ cp -r ./lib/ ./bundle/lib/ cp -r bin/ bundle/bin/ cp package.json bundle/package.json cp package-lock.json bundle/package-lock.json -wget $NODE_URL +curl -o $NODE_TAR_FILE $NODE_URL unzip $NODE_TAR_FILE mv $NODE_DIR bundle/node