From e5e7c0e34392154021199e4f1507ddd2199b13c1 Mon Sep 17 00:00:00 2001 From: Paul Bailey Date: Mon, 9 Nov 2026 00:00:03 +0000 Subject: [PATCH] export.sh: keep build/ out of the game (a .gdignore): screenshots and voice samples there were being packed into it --- tools/export.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/export.sh b/tools/export.sh index 7f21d48..e9a3e82 100755 --- a/tools/export.sh +++ b/tools/export.sh @@ -25,6 +25,10 @@ for v in $(grep -E '^application/(short_version|version|file_version|product_ver done which=${1:-all} mkdir -p build +# Godot mustn't import build/ (screenshots, samples, the site): with +# all_resources, anything it imported there went into the game too. +touch build/.gdignore +find build -name "*.import" -delete "$GODOT" --headless --path . --import >/dev/null 2>&1 if [ "$which" = all ] || [ "$which" = macOS ]; then