Created
February 5, 2025 11:57
-
-
Save sarah-j-smith/5dc52a6805679fbafd1ae8b988451d7d to your computer and use it in GitHub Desktop.
Mac Bash script to build the editor version of an Unreal project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PROJ=$(find . -name "*.uproject") | |
if [ -z "$PROJ" ]; then | |
echo "Run this from inside the folder containing your Unreal project file - eg \"MyGame.uproject\"." | |
exit 1; | |
fi | |
# Only major version as per pathname | |
UNREAL_VERSION=5.5 | |
PROJ_NAME=$(basename $PROJ .uproject) | |
CUR_DIR=$(pwd) | |
sh /Users/Shared/Epic\ Games/UE_5.5/Engine/Build/BatchFiles/Mac/Build.sh \ | |
-ModuleWithSuffix=CrustyPirate,1877 CrustyPirateEditor Mac Development \ | |
-Project="${CUR_DIR}/CrustyPirate.uproject" \ | |
"${CUR_DIR}/CrustyPirate.uproject" \ | |
-architecture=arm64 -IgnoreJunk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment