@echo off setlocal cd /d "%~dp0" where uv >nul 2>&1 if %errorlevel%==0 ( uv run kvm-switch exit /b %errorlevel% ) if exist ".venv\Scripts\kvm-switch.exe" ( call ".venv\Scripts\kvm-switch.exe" exit /b %errorlevel% ) if exist ".venv\Scripts\python.exe" ( call ".venv\Scripts\python.exe" -m main exit /b %errorlevel% ) echo [ERROR] Could not start KVM Switch. echo [ERROR] Neither "uv" nor ".venv" runtime was found. exit /b 1