diff --git a/run.bat b/run.bat index c689dda16..aecbf2491 100755 --- a/run.bat +++ b/run.bat @@ -9,6 +9,8 @@ set QTWEBENGINE_CHROMIUM_FLAGS=--remote-allow-origins=http://localhost:8080 set ANKI_API_PORT=40000 set ANKI_API_HOST=127.0.0.1 +@if not defined PYENV set PYENV=out\pyenv + call tools\ninja pylib qt || exit /b 1 -.\out\pyenv\scripts\python tools\run.py %* || exit /b 1 +%PYENV%\Scripts\python tools\run.py %* || exit /b 1 popd