Fix powershell file association after emsdk script rename (#340)

See #292

Fixes #336
This commit is contained in:
Sam Clegg
2019-08-28 17:29:10 -07:00
committed by GitHub
parent f285fdbb0c
commit 80f490f749

View File

@@ -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,