TwitchDownloader/start_chat_only.bat

18 lines
665 B
Batchfile

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 Ensure required packages are installed
pip install -r requirements.txt
rem Run the standalone chat downloader script
rem Usage: start_chat_only.bat <username> [--output path] [--max-messages N] [--timeout S] [--verbose] [--foreground] [--use-chat-downloader-primary]
rem Pass username as -u and forward additional arguments (mirrors start.bat behavior)
python run_chat_only.py -u %1 %2 %3 %4 %5 %6 %7 %8 %9
rem Deactivate the virtual environment
call "%VENV_PATH%\Scripts\deactivate.bat"