Update upload.bat

pull/1852/head
Jayden Elishaw 2 years ago committed by GitHub
parent a4206bef91
commit cbdc5542e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,2 +1,15 @@
@echo off
set VENV_DIR=.venv
if exist "%VENV_DIR%" (
echo Activating virtual environment...
call "%VENV_DIR%\Scripts\activate.bat"
)
echo Running Python script...
python upload.py
pause
if errorlevel 1 (
echo An error occurred. Press any key to exit.
pause >nul
)

Loading…
Cancel
Save