10 lines
		
	
	
	
		
			329 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			329 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#!/bin/sh
 | 
						|
dir="$(dirname $1)"
 | 
						|
cd "$dir"
 | 
						|
echo "[package_godot_zip.sh] zipping godot.zip"
 | 
						|
 | 
						|
# overwrite empty godot template project-zip with given URL
 | 
						|
test -n "$GODOT_TEMPLATE_ZIP" && timeout 50 wget "$GODOT_TEMPLATE_ZIP" -O ~/template_godot.zip
 | 
						|
 | 
						|
cp ~/template_godot.zip package_godot.zip
 | 
						|
zip .xrforge/godot.zip *.glb *.usdz *.obj
 |