@echo offsetlocalcd /d "%~dp0"REM Prefer the Python launcher (py), fall back to python on PATH.set "PY="where py >nul 2>nul && set "PY=py"if not defined PY ( where python >nul 2>nul && set "PY=python")if not defined PY ( echo [ERROR] Python was not found. Run install.bat first, echo or install Python 3.9+ from https://www.python.org/downloads/ echo. pause exit /b 1)%PY% run.pyif errorlevel 1 ( echo. echo WaveTools exited with an error. echo If this is your first launch, run install.bat to install the dependencies. echo. pause)