17 lines
485 B
Bash
Executable file
17 lines
485 B
Bash
Executable file
#!/bin/sh
|
|
test -n "$NO_PACKAGEALL" && exit 0; # nothing to do
|
|
cd /mnt/models
|
|
{
|
|
echo "# XRForge experiences"
|
|
echo ""
|
|
echo "XRForge [$PUBLIC_HOSTNAME] snapshot made at $(date)"
|
|
echo ""
|
|
echo "# How to view"
|
|
echo ""
|
|
echo "You'll need a 3D app/website/viewer with:"
|
|
echo ""
|
|
echo "* support for multiple 3D fileformats"
|
|
echo "* XR Fragments support (at least href extras) to teleport between them"
|
|
} > /mnt/models/README.md
|
|
|
|
zip -r /usr/src/app/public/experiences.zip *
|