Errorcode 1 behoben, wenn install_and_run.bat ohne Args aufgerufen wird

This commit is contained in:
2026-05-06 14:32:38 +02:00
parent c69ec1eecb
commit 907ce6a0de
+5 -2
View File
@@ -110,11 +110,14 @@ if not exist "%SCRIPT%" (
exit /b 6 exit /b 6
) )
set "RUN_ARGS=%*"
if "%~1"=="" set "RUN_ARGS=-h"
echo. echo.
echo [%APP_NAME%] Starte ... echo [%APP_NAME%] Starte ...
echo Command: "%PY_CMD%" "%SCRIPT%" %* echo Command: "%PY_CMD%" "%SCRIPT%" %RUN_ARGS%
echo. echo.
"%PY_CMD%" "%SCRIPT%" %* "%PY_CMD%" "%SCRIPT%" %RUN_ARGS%
set "RC=%ERRORLEVEL%" set "RC=%ERRORLEVEL%"
echo. echo.