parent
a4206bef91
commit
cbdc5542e1
@ -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
|
python upload.py
|
||||||
pause
|
|
||||||
|
if errorlevel 1 (
|
||||||
|
echo An error occurred. Press any key to exit.
|
||||||
|
pause >nul
|
||||||
|
)
|
||||||
|
Loading…
Reference in new issue