快捷方式改动
This commit is contained in:
		
							parent
							
								
									270fd2083d
								
							
						
					
					
						commit
						65d6117719
					
				@ -1,25 +0,0 @@
 | 
			
		||||
@echo off
 | 
			
		||||
 | 
			
		||||
echo Updating SpaceNinjaServer...
 | 
			
		||||
git fetch --prune
 | 
			
		||||
git stash
 | 
			
		||||
git checkout -f origin/main
 | 
			
		||||
 | 
			
		||||
if exist static\data\0\ (
 | 
			
		||||
	echo Updating stripped assets...
 | 
			
		||||
	cd static\data\0\
 | 
			
		||||
	git pull
 | 
			
		||||
	cd ..\..\..\
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
echo Updating dependencies...
 | 
			
		||||
call npm i --omit=dev
 | 
			
		||||
 | 
			
		||||
call npm run build
 | 
			
		||||
if %errorlevel% == 0 (
 | 
			
		||||
	call npm run start
 | 
			
		||||
	echo SpaceNinjaServer seems to have crashed.
 | 
			
		||||
)
 | 
			
		||||
:a
 | 
			
		||||
pause > nul
 | 
			
		||||
goto a
 | 
			
		||||
@ -1,23 +0,0 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
echo "Updating SpaceNinjaServer..."
 | 
			
		||||
git fetch --prune
 | 
			
		||||
git stash
 | 
			
		||||
git checkout -f origin/main
 | 
			
		||||
 | 
			
		||||
if [ -d "static/data/0/" ]; then
 | 
			
		||||
    echo "Updating stripped assets..."
 | 
			
		||||
    cd static/data/0/
 | 
			
		||||
    git pull
 | 
			
		||||
    cd ../../../
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
echo "Updating dependencies..."
 | 
			
		||||
npm i --omit=dev
 | 
			
		||||
 | 
			
		||||
npm run build
 | 
			
		||||
if [ $? -eq 0 ]; then
 | 
			
		||||
    npm run start
 | 
			
		||||
    echo "SpaceNinjaServer seems to have crashed."
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								Warframe.x64.exe - Shortcut.lnk
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Warframe.x64.exe - Shortcut.lnk
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user