Initial commit: organize FPV RID local registry source
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
@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
|
||||
Reference in New Issue
Block a user