Skip to content

Commit 8cea378

Browse files
authored
Update emsdk.bat after recent python update (#1010)
Fixes: #1009
1 parent 3e7e0ab commit 8cea378

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

emsdk.bat

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ if exist "%~dp0python\3.9.2-1_64bit\python.exe" (
1414
goto end
1515
)
1616

17+
if exist "%~dp0python\3.9.2-nuget_64bit\python.exe" (
18+
set EMSDK_PY="%~dp0python\3.9.2-nuget_64bit\python.exe"
19+
set PYTHONHOME=
20+
set PYTHONPATH=
21+
goto end
22+
)
23+
1724
if exist "%~dp0python\3.7.4-pywin32_64bit\python.exe" (
1825
set EMSDK_PY="%~dp0python\3.7.4-pywin32_64bit\python.exe"
1926
set PYTHONHOME=

0 commit comments

Comments
 (0)