@echo off REM Opens the Bolt window (no console left behind). For the terminal version REM use run-cli.bat. Bolt starts in the directory you ran this from; change it REM from the folder button in the window. setlocal set "ROOT=%~dp0" if not exist "%ROOT%.venv" ( echo First run: creating .venv and installing requirements... python -m venv "%ROOT%.venv" "%ROOT%.venv\Scripts\python" -m pip install --upgrade pip "%ROOT%.venv\Scripts\python" -m pip install -r "%ROOT%requirements.txt" ) set "PYTHONPATH=%ROOT%;%PYTHONPATH%" start "" "%ROOT%.venv\Scripts\pythonw.exe" -m bolt_console %*