1
emsdk.py
1
emsdk.py
@@ -3047,7 +3047,6 @@ def main(args):
|
|||||||
print('')
|
print('')
|
||||||
|
|
||||||
tools_to_activate = currently_active_tools()
|
tools_to_activate = currently_active_tools()
|
||||||
args = [x for x in args if not x.startswith('--')]
|
|
||||||
for arg in args:
|
for arg in args:
|
||||||
tool = find_tool(arg)
|
tool = find_tool(arg)
|
||||||
if tool is None:
|
if tool is None:
|
||||||
|
|||||||
@@ -15,8 +15,7 @@ try {
|
|||||||
|
|
||||||
& "$repo_root/emsdk.ps1" install latest
|
& "$repo_root/emsdk.ps1" install latest
|
||||||
|
|
||||||
$esc = '--%'
|
& "$repo_root/emsdk.ps1" activate latest $env:PERMANENT_FLAG $env:SYSTEM_FLAG
|
||||||
& "$repo_root/emsdk.ps1" activate latest $esc $env:PERMANENT_FLAG $env:SYSTEM_FLAG
|
|
||||||
|
|
||||||
if ($env:SYSTEM_FLAG) {
|
if ($env:SYSTEM_FLAG) {
|
||||||
$env_type = "Machine"
|
$env_type = "Machine"
|
||||||
|
|||||||
Reference in New Issue
Block a user