#!/bin/sh test -z "$GODOT_VERSION" && exit 0 # nothing to do wget "https://github.com/godotengine/godot/releases/download/${GODOT_VERSION}/Godot_v${GODOT_VERSION}_web_editor.zip" -O /root/godot.zip cd /usr/src/app/public/godot unzip /root/godot.zip cp index.override.html index.html # make index.html autoload a manyfold zip-file (passed via HTTP query)