feat: add update and start script for dummies (#828)

This commit is contained in:
Sainan 2025-01-20 12:22:34 +01:00 committed by GitHub
parent 62a4ac0652
commit 3eab0c187c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,22 @@
@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