Skip to content

Commit e61130f

Browse files
authored
Natively support Apple Silicon to bootstrap the NVS script (#222)
1 parent ff7b5f7 commit e61130f

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

defaults.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
"default": "node",
66
"node": "https://nodejs.org/dist/"
77
},
8-
"bootstrap": "node/12.22.2"
8+
"bootstrap": "node/16.14.2"
99
}

nvs.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,7 @@ nvs() {
6565
if [ "${NVS_OS}" = "aix" ]; then
6666
NODE_ARCH="ppc64"
6767
fi
68-
# Automatically select x64 instead of arm64 when on macOS
69-
if [ "${NVS_OS}" = "darwin" ] && [ "${NODE_ARCH}" = "arm64" ]; then
70-
NODE_ARCH="x64"
71-
fi
68+
7269
local NODE_FULLNAME="node-v${NODE_VERSION}-${NVS_OS}-${NODE_ARCH}"
7370
local NODE_URI="${NODE_BASE_URI}v${NODE_VERSION}/${NODE_FULLNAME}${NODE_ARCHIVE_EXT}"
7471
local NODE_ARCHIVE="${NVS_HOME}/cache/${NODE_FULLNAME}${NODE_ARCHIVE_EXT}"

0 commit comments

Comments
 (0)