16 lines
313 B
PowerShell
16 lines
313 B
PowerShell
# Activate Python virtual environment
|
|
Set-Location -Path "."
|
|
.venv\Scripts\Activate.ps1
|
|
|
|
# Perform a git pull to sync the repository
|
|
git pull
|
|
|
|
# Run uv sync (replace 'uv sync' with the actual command if different)
|
|
uv sync
|
|
|
|
# Start the Python script
|
|
python main.py
|
|
|
|
# Deactivate the virtual environment
|
|
deactivate
|