@echo off
setlocal
where node >nul 2>&1
if errorlevel 1 (
  echo Runrail requires Node.js 20 or newer. Install Node.js, then open this file again.
  pause
  exit /b 1
)
node "%~dp0start-preview.mjs"
if errorlevel 1 pause
