First upload, 18 controller version
This commit is contained in:
40
start_infinity_mirror.bat
Normal file
40
start_infinity_mirror.bat
Normal file
@@ -0,0 +1,40 @@
|
||||
@echo off
|
||||
setlocal
|
||||
|
||||
cd /d "%~dp0"
|
||||
|
||||
set "PYTHON_EXE=C:\Users\janni\anaconda3\envs\SMU\python.exe"
|
||||
|
||||
if exist "%PYTHON_EXE%" goto run_app
|
||||
|
||||
where python >nul 2>nul
|
||||
if %errorlevel%==0 (
|
||||
set "PYTHON_EXE=python"
|
||||
goto run_app
|
||||
)
|
||||
|
||||
echo Kein Python-Interpreter gefunden.
|
||||
echo.
|
||||
echo Bitte pruefe den Pfad in dieser Datei:
|
||||
echo %~nx0
|
||||
echo.
|
||||
pause
|
||||
exit /b 1
|
||||
|
||||
:run_app
|
||||
echo Starte Infinity Mirror Control...
|
||||
echo.
|
||||
"%PYTHON_EXE%" -m app.main
|
||||
set "APP_EXIT=%errorlevel%"
|
||||
echo.
|
||||
|
||||
if not "%APP_EXIT%"=="0" (
|
||||
echo Die App wurde mit Fehlercode %APP_EXIT% beendet.
|
||||
echo.
|
||||
echo Falls eine PySide6- oder Qt-DLL-Fehlermeldung erscheint,
|
||||
echo liegt das aktuell an der lokalen Python-/Qt-Umgebung.
|
||||
echo.
|
||||
pause
|
||||
)
|
||||
|
||||
exit /b %APP_EXIT%
|
||||
Reference in New Issue
Block a user