xrforge/manyfold/root/hook.d/inotify_MODIFY/package_experience.sh

5 lines
142 B
Bash
Executable file

#!/bin/sh
echo "$1" | grep datapackage || exit 0 # nothing to do
cd $(dirname $1)
zip experience.zip *.glb
ln -s datapackage.json index.json