"Add Windows installer and driver training rewards"

This commit is contained in:
larssand
2026-08-24 14:48:49 +02:00
parent 4c0e94bc50
commit de7b4adfe0
21 changed files with 2068 additions and 210 deletions

View File

@@ -1,11 +1,13 @@
@echo off
setlocal
for /f "tokens=5" %%p in ('netstat -ano ^| findstr ":8081" ^| findstr "LISTENING"') do (
taskkill /PID %%p /F >nul 2>&1
)
for %%I in ("%~dp0..") do set "APP_DIR=%%~fI"
pushd "%APP_DIR%"
if exist "node_modules" call npm.cmd stop
popd
taskkill /IM ammc-amb.exe /F >nul 2>&1
echo [OK] Stopped backend on :8081 and ammc-amb.exe (if running)
echo [OK] Stopped RaceController and ammc-amb.exe (if running)
endlocal