diff --git a/run.bat b/run.bat index 4c48f2f..23bf078 100644 --- a/run.bat +++ b/run.bat @@ -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