Add activated_path_skip to node v14.18.2 packages (#1209)
This should have been part of #1189. See #1183.
This commit is contained in:
@@ -159,6 +159,7 @@
|
||||
"arch": "x86",
|
||||
"windows_url": "node-v14.18.2-win-x86.zip",
|
||||
"activated_path": "%installation_dir%/bin",
|
||||
"activated_path_skip": "node",
|
||||
"activated_cfg": "NODE_JS='%installation_dir%/bin/node%.exe%'",
|
||||
"activated_env": "EMSDK_NODE=%installation_dir%/bin/node%.exe%"
|
||||
},
|
||||
@@ -169,6 +170,7 @@
|
||||
"bitness": 32,
|
||||
"linux_url": "node-v14.18.2-linux-armv7l.tar.xz",
|
||||
"activated_path": "%installation_dir%/bin",
|
||||
"activated_path_skip": "node",
|
||||
"activated_cfg": "NODE_JS='%installation_dir%/bin/node%.exe%'",
|
||||
"activated_env": "EMSDK_NODE=%installation_dir%/bin/node%.exe%"
|
||||
},
|
||||
@@ -181,6 +183,7 @@
|
||||
"windows_url": "node-v14.18.2-win-x64.zip",
|
||||
"linux_url": "node-v14.18.2-linux-x64.tar.xz",
|
||||
"activated_path": "%installation_dir%/bin",
|
||||
"activated_path_skip": "node",
|
||||
"activated_cfg": "NODE_JS='%installation_dir%/bin/node%.exe%'",
|
||||
"activated_env": "EMSDK_NODE=%installation_dir%/bin/node%.exe%"
|
||||
},
|
||||
@@ -192,6 +195,7 @@
|
||||
"macos_url": "node-v14.18.2-darwin-x64.tar.gz",
|
||||
"linux_url": "node-v14.18.2-linux-arm64.tar.xz",
|
||||
"activated_path": "%installation_dir%/bin",
|
||||
"activated_path_skip": "node",
|
||||
"activated_cfg": "NODE_JS='%installation_dir%/bin/node%.exe%'",
|
||||
"activated_env": "EMSDK_NODE=%installation_dir%/bin/node%.exe%"
|
||||
},
|
||||
|
||||
@@ -53,10 +53,6 @@ try {
|
||||
if (!$EMSDK_Path) {
|
||||
throw "No path is added!"
|
||||
}
|
||||
$EMSDK_NODE_Path = $path_split | Where-Object { $_ -like "$repo_root\node*" }
|
||||
if (!$EMSDK_NODE_Path) {
|
||||
throw "$repo_root\\node is not added to path."
|
||||
}
|
||||
|
||||
$EMSDK_UPSTREAM_Path = $path_split | Where-Object { $_ -like "$repo_root\upstream\emscripten*" }
|
||||
if (!$EMSDK_UPSTREAM_Path) {
|
||||
|
||||
Reference in New Issue
Block a user