17 lines
282 B
Batchfile
17 lines
282 B
Batchfile
@echo off
|
|
setlocal
|
|
cd /d "%~dp0"
|
|
|
|
where node >nul 2>nul
|
|
if errorlevel 1 (
|
|
echo Node.js was not found.
|
|
echo Install Node.js 20 or newer from https://nodejs.org/
|
|
echo Then double-click this file again.
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
node src\web\server.js --open
|
|
if errorlevel 1 pause
|
|
|