9 lines
356 B
Bash
Executable file
9 lines
356 B
Bash
Executable file
#!/bin/sh
|
|
echo "$1" | grep datapackage || exit 0 # nothing to do
|
|
dir=$(dirname $1)
|
|
cd "$dir"
|
|
echo "[package_experience.sh] zipping $dir.zip"
|
|
|
|
test -d ~/tpl_godot.zip || timeout 50 wget "https://codeberg.org/coderofsalvation/xrfragment-godot/archive/main.zip" -O ~/tpl_godot.zip
|
|
cp ~/tpl_godot.zip package_godot.zip
|
|
zip package_godot.zip *.glb *.usdz *.obj
|