Synchronize built-in environment

This commit is contained in:
Feige-cn 2025-03-11 13:48:00 +08:00
parent 6e8de4e35e
commit 62f937c1ca

15
run.bat
View File

@ -1,3 +1,16 @@
@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
endlocal