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...
call npm i
call npm run build
call npm run start
echo SpaceNinjaServer seems to have crashed.
:a
pause > nul
goto a