Initial upload

This commit is contained in:
2026-05-29 00:00:13 +02:00
commit 44310b57b3
2 changed files with 49 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
# O3DE Flatpak Wrapper Script
# Bibliotheken aus dem Flatpak-Bundle zum LD_LIBRARY_PATH hinzufügen
export LD_LIBRARY_PATH="/app/opt/O3DE/lib:/app/lib:$LD_LIBRARY_PATH"
# Finde das Haupt-Executable von O3DE. Meist ist es in /app/opt/O3DE/bin/Linux/profile/Default/o3de oder ähnlich.
O3DE_BIN=$(find /app/opt -type f -executable -name "o3de" | head -n 1)
if [ -z "$O3DE_BIN" ]; then
echo "Fehler: O3DE Executable wurde im Paket nicht gefunden!"
exit 1
fi
echo "Starte O3DE: $O3DE_BIN"
exec "$O3DE_BIN" "$@"