合并
This commit is contained in:
27
etl_billiards/run_gui.bat
Normal file
27
etl_billiards/run_gui.bat
Normal file
@@ -0,0 +1,27 @@
|
||||
@echo off
|
||||
chcp 65001 >nul
|
||||
cd /d "%~dp0"
|
||||
|
||||
echo ====================================
|
||||
echo 飞球 ETL 管理系统
|
||||
echo ====================================
|
||||
echo.
|
||||
|
||||
REM 检查 Python
|
||||
python --version >nul 2>&1
|
||||
if errorlevel 1 (
|
||||
echo [错误] 未找到 Python,请先安装 Python 3.10+
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
REM 启动 GUI
|
||||
echo 正在启动 GUI...
|
||||
python -m gui.main
|
||||
|
||||
if errorlevel 1 (
|
||||
echo.
|
||||
echo [错误] 启动失败,请检查依赖是否已安装
|
||||
echo 运行: pip install -r requirements.txt
|
||||
pause
|
||||
)
|
||||
Reference in New Issue
Block a user