"Add Windows installer and driver training rewards"
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user