SpaceNinjaServer/UPDATE AND START SERVER.bat

23 lines
309 B
Batchfile
Raw Normal View History

@echo off
echo Updating SpaceNinjaServer...
git pull
if exist static\data\0\ (
echo Updating stripped assets...
cd static\data\0\
git pull
cd ..\..\..\
)
echo Updating dependencies...
2025-01-19 17:31:38 +01:00
call npm i
call npm run build
call npm run start
2025-01-19 17:50:49 +01:00
echo SpaceNinjaServer seems to have crashed.
:a
pause > nul
goto a