更改自动更新分支

This commit is contained in:
AlexisinGit 2025-09-03 17:18:02 +08:00
parent 38f192ed84
commit 82de3ce351
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ echo Updating SpaceNinjaServer...
git fetch --prune
if %errorlevel% == 0 (
git stash
git checkout -f origin/main
git checkout -f origin/自用
if exist static\data\0\ (
echo Updating stripped assets...

View File

@ -4,7 +4,7 @@ echo "Updating SpaceNinjaServer..."
git fetch --prune
if [ $? -eq 0 ]; then
git stash
git checkout -f origin/main
git checkout -f origin/自用
if [ -d "static/data/0/" ]; then
echo "Updating stripped assets..."