Update StartAll.bat

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

@ -1,3 +1,18 @@
cd C:\Users\JAdmin\Desktop\RYBot
@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 main.py
python upload.py
python upload.py
if errorlevel 1 (
echo An error occurred. Press any key to exit.
pause >nul
)

Loading…
Cancel
Save