18 lines
403 B
Batchfile
18 lines
403 B
Batchfile
@echo off
|
|
cd /d "%~dp0"
|
|
if exist "%~dp0runtime\node.exe" (
|
|
"%~dp0runtime\node.exe" "%~dp0registry\server.js"
|
|
) else (
|
|
where node >nul 2>&1
|
|
if errorlevel 1 (
|
|
echo Node.js 24 was not found.
|
|
echo Install Node.js 24 or copy the original runtime\node.exe into this folder.
|
|
pause
|
|
exit /b 1
|
|
)
|
|
node "%~dp0registry\server.js"
|
|
)
|
|
echo.
|
|
echo FPV-RID registration server has stopped.
|
|
pause
|