From 08477d0f772e7d083c208db1749e70eecd0edaaa Mon Sep 17 00:00:00 2001 From: Renan Castro Date: Thu, 21 Oct 2021 10:23:50 -0300 Subject: [PATCH] Support arm64 on darwin when building the dev bundle --- scripts/build-dev-bundle-common.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/build-dev-bundle-common.sh b/scripts/build-dev-bundle-common.sh index 754c8a8f6a..0ad4ef0fc1 100644 --- a/scripts/build-dev-bundle-common.sh +++ b/scripts/build-dev-bundle-common.sh @@ -71,7 +71,9 @@ then fi elif [ "$UNAME" == "Darwin" ] then - if [ "$ARCH" != "arm64" ] ; then + if [ "$ARCH" == "arm64" ] ; then + NODE_TGZ="node-v${NODE_VERSION}-darwin-arm64.tar.gz" + else NODE_TGZ="node-v${NODE_VERSION}-darwin-x64.tar.gz" fi else