-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSTART_PythonBox_v8.bat
More file actions
39 lines (33 loc) · 790 Bytes
/
Copy pathSTART_PythonBox_v8.bat
File metadata and controls
39 lines (33 loc) · 790 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
@echo off
chcp 65001 >nul
cd /d "%~dp0"
echo ========================================
echo PythonBox v8 starten
echo ========================================
echo.
if exist "dist\PythonBox.exe" (
echo Starte dist\PythonBox.exe...
start "" "dist\PythonBox.exe" %*
exit /b 0
)
if exist "PythonBox.exe" (
echo Starte PythonBox.exe...
start "" "PythonBox.exe" %*
exit /b 0
)
python --version >nul 2>&1
if errorlevel 1 (
echo [FEHLER] Keine EXE und Python nicht gefunden!
echo Bitte Python 3.10+ installieren oder build_exe.bat ausführen.
echo.
pause
exit /b 1
)
echo Keine EXE gefunden, starte Python-Fallback...
echo.
python PythonBox_v8.py %*
if errorlevel 1 (
echo.
echo [FEHLER] Anwendung mit Fehler beendet.
pause
)