This commit is contained in:
Lauri Räsänen 2022-03-10 22:01:56 +02:00
commit a45a0e8685
12 changed files with 311 additions and 0 deletions

15
bin/unreal.sh Executable file
View file

@ -0,0 +1,15 @@
#!/bin/bash
set -euo pipefail
shopt -s nullglob
ADDITIONAL=""
PROJECTS=(*.uproject)
if [[ ${#PROJECTS[@]} -gt 0 ]]; then
ADDITIONAL="$(pwd)/${PROJECTS[0]}"
echo "Found project, passing to cli: '$ADDITIONAL'"
fi
"$HOME/UnrealEngine/UE_5-4-2/Engine/Binaries/Linux/UnrealEditor" $ADDITIONAL