11 lines
222 B
Batchfile
11 lines
222 B
Batchfile
@echo off
|
|
setlocal
|
|
where node.exe >nul 2>nul
|
|
if errorlevel 1 (
|
|
echo Node.js ontbreekt. Installeer Node.js 22 of nieuwer.
|
|
pause
|
|
exit /b 1
|
|
)
|
|
node.exe "%~dp0worker.js" --config "%~dp0pairing.json"
|
|
if errorlevel 1 pause
|