Updated script
This commit is contained in:
parent
47cc5039b8
commit
80255b2012
11 changed files with 1562 additions and 286 deletions
23
loopstart.bat
Normal file
23
loopstart.bat
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
rem @echo off
|
||||
setlocal
|
||||
|
||||
rem Set the path to your virtual environment
|
||||
set VENV_PATH=.\venv314
|
||||
rem Activate the virtual environment
|
||||
call "%VENV_PATH%\Scripts\activate.bat"
|
||||
rem pyenv-venv activate twitcharchive
|
||||
|
||||
pip install -r requirements.txt
|
||||
|
||||
:loop
|
||||
|
||||
rem Run the desired command in the virtual environment
|
||||
python twitch-archive.py -u %1
|
||||
|
||||
@REM rem if the program exits with a non-zero error code, go back to the beginning of the loop
|
||||
@REM if %errorlevel% neq 0 (
|
||||
goto loop
|
||||
@REM )
|
||||
|
||||
rem Deactivate the virtual environment
|
||||
call "%VENV_PATH%\Scripts\deactivate.bat"
|
||||
Loading…
Add table
Add a link
Reference in a new issue