2026-02-09 19:01:24 +01:00
|
|
|
rem @echo off
|
|
|
|
|
setlocal
|
|
|
|
|
|
|
|
|
|
rem Set the path to your virtual environment
|
2026-02-09 21:29:47 +01:00
|
|
|
set VENV_PATH=.\venv314
|
2026-02-09 19:01:24 +01:00
|
|
|
rem Activate the virtual environment
|
|
|
|
|
call "%VENV_PATH%\Scripts\activate.bat"
|
|
|
|
|
rem pyenv-venv activate twitcharchive
|
|
|
|
|
|
|
|
|
|
pip install -r requirements.txt
|
|
|
|
|
|
|
|
|
|
rem Run the desired command in the virtual environment
|
2026-02-10 23:42:22 +01:00
|
|
|
rem Pass username as -u and forward all additional arguments
|
|
|
|
|
python twitch-archive.py -u %1 %2 %3 %4 %5 %6 %7 %8 %9
|
2026-02-09 19:01:24 +01:00
|
|
|
|
|
|
|
|
rem Deactivate the virtual environment
|
|
|
|
|
call "%VENV_PATH%\Scripts\deactivate.bat"
|