17 lines
320 B
Batchfile
17 lines
320 B
Batchfile
@echo off
|
|
REM Activate Python virtual environment
|
|
cd .
|
|
call .venv\Scripts\activate.bat
|
|
|
|
REM Perform a git pull to sync the repository
|
|
git pull
|
|
|
|
REM Run uv sync (replace 'uv sync' with the actual command if different)
|
|
uv sync
|
|
|
|
REM Start the Python script
|
|
python main.py
|
|
|
|
REM Deactivate the virtual environment
|
|
deactivate
|