Merge pull request #456 from Feige-cn/front-end

Synchronize built-in environment
This commit is contained in:
Isaac 2025-03-11 13:58:00 +08:00 committed by GitHub
commit 7b96e12858
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

15
run.bat
View File

@ -1,3 +1,16 @@
@echo off @echo off
venv\Scripts\python.exe app.py setlocal
cd /d %~dp0
call venv\Scripts\activate.bat
echo Trying to sync with GitHub repository...
git pull origin front-end || (
echo Failed to sync with GitHub, skipping update...
)
echo Starting Python application...
python app.py
pause pause
endlocal