chore: commit untracked UE/scaffold files (repo cleanup triage 20260707)
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
28
launch_editor.sh
Executable file
28
launch_editor.sh
Executable file
@@ -0,0 +1,28 @@
|
||||
#!/bin/bash
|
||||
# Launch Unreal Editor for Dubai Metaverse project
|
||||
|
||||
PROJECT_FILE="$HOME/projects/metaverseDubai/DubaiMetaverse.uproject"
|
||||
EDITOR_PATH="$HOME/UnrealEngine/Engine/Binaries/Linux/UnrealEditor"
|
||||
|
||||
if [ ! -f "$EDITOR_PATH" ]; then
|
||||
echo "Error: UnrealEditor not found at $EDITOR_PATH"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -f "$PROJECT_FILE" ]; then
|
||||
echo "Error: Project file not found at $PROJECT_FILE"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Launching Unreal Editor..."
|
||||
echo "Project: $PROJECT_FILE"
|
||||
echo ""
|
||||
|
||||
# Check for X server (required for GUI)
|
||||
if [ -z "$DISPLAY" ]; then
|
||||
echo "⚠ Warning: No DISPLAY variable set"
|
||||
echo "For WSL, you may need to set up X server"
|
||||
echo "Or use: export DISPLAY=:0"
|
||||
fi
|
||||
|
||||
"$EDITOR_PATH" "$PROJECT_FILE" "$@"
|
||||
Reference in New Issue
Block a user