14 lines
242 B
Batchfile
14 lines
242 B
Batchfile
@echo off
|
|
setlocal
|
|
|
|
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 RC RaceCore and ammc-amb.exe (if running)
|
|
endlocal
|