Files
Live_RC/windows/install.bat
2026-08-24 18:29:39 +02:00

20 lines
463 B
Batchfile

@echo off
setlocal
echo JMK RB RaceController - Windows 11 setup
echo.
rem setup.ps1 refreshes PATH after a Node installation and runs npm.cmd restart.
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0setup.ps1" -StartServer %*
set "EXIT_CODE=%ERRORLEVEL%"
echo.
if not "%EXIT_CODE%"=="0" (
echo [ERROR] Setup failed with exit code %EXIT_CODE%.
) else (
echo [OK] Setup completed.
)
echo Press any key to close.
pause >nul
exit /b %EXIT_CODE%