10 lines
350 B
Bash
Executable file
10 lines
350 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 ~/templates/template_godot.zip
|
|
|
|
cp ~/templates/template_godot.zip .xrforge/godot.zip
|
|
zip .xrforge/godot.zip *.glb *.usdz *.obj
|