parent
684e8a0f9a
commit
97286d94f4
@ -1,3 +1,18 @@
|
|||||||
cd C:\Users\JAdmin\Desktop\RYBot
|
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 main.py
|
||||||
python upload.py
|
python upload.py
|
||||||
|
|
||||||
|
if errorlevel 1 (
|
||||||
|
echo An error occurred. Press any key to exit.
|
||||||
|
pause >nul
|
||||||
|
)
|
||||||
|
Loading…
Reference in new issue