Initial upload
This commit is contained in:
@@ -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" "$@"
|
||||
Reference in New Issue
Block a user