From d9b50eeb8994b0778963da4867166af13774755b Mon Sep 17 00:00:00 2001 From: rambros Date: Thu, 19 Mar 2026 16:44:15 +0530 Subject: [PATCH] add windows launch script --- launch.bat | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 launch.bat diff --git a/launch.bat b/launch.bat new file mode 100644 index 0000000..8e98b6a --- /dev/null +++ b/launch.bat @@ -0,0 +1,25 @@ +@echo off +setlocal +cd /d "%~dp0" + +echo Disco Reaper -- unified Windows launcher + +IF NOT EXIST "venv" ( + echo Virtual environment not found. Creating... + python -m venv venv + IF ERRORLEVEL 1 ( + echo Error: Failed to create virtual environment. Ensure Python is installed and added to PATH. + pause + exit /b 1 + ) + call venv\Scripts\activate.bat + IF EXIST "requirements.txt" ( + echo Installing requirements... + python -m pip install --upgrade pip -q + pip install -r requirements.txt -q + ) +) ELSE ( + call venv\Scripts\activate.bat +) + +python disco-reaper.py %*