From 80f490f7495d4325006e6c20d54684a404be1f63 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Wed, 28 Aug 2019 17:29:10 -0700 Subject: [PATCH] Fix powershell file association after emsdk script rename (#340) See #292 Fixes #336 --- emsdk.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emsdk.ps1 b/emsdk.ps1 index 22f1797..ebd6f80 100644 --- a/emsdk.ps1 +++ b/emsdk.ps1 @@ -26,7 +26,7 @@ if (-Not $EMSDK_PY) { # Tell EMSDK to create environment variable setter as a .ps1 file $env:EMSDK_POWERSHELL = 1 -& $EMSDK_PY "$ScriptDirectory/emsdk" $args +& $EMSDK_PY "$ScriptDirectory/emsdk.py" $args # python is not able to set environment variables to the parent calling process, so # therefore have it craft a .ps1 file, which we invoke after finishing python execution,