"Add Windows installer and driver training rewards"
This commit is contained in:
18
windows/install.bat
Normal file
18
windows/install.bat
Normal file
@@ -0,0 +1,18 @@
|
||||
@echo off
|
||||
setlocal
|
||||
|
||||
echo JMK RB RaceController - Windows 11 setup
|
||||
echo.
|
||||
|
||||
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0setup.ps1" %*
|
||||
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%
|
||||
Reference in New Issue
Block a user