Created
September 14, 2024 07:56
-
-
Save sarah-j-smith/cc4f2294de028c8be86c3255dfa52e17 to your computer and use it in GitHub Desktop.
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 - eg \"MyGame.uproject\"." | |
exit 1; | |
fi | |
PROJ_NAME=$(basename $PROJ .uproject) | |
CUR_DIR=$(pwd) | |
echo "Regenerating project files for ${PROJ_NAME}..." | |
sh /Users/Shared/Epic\ Games/UE_5.3/Engine/Build/BatchFiles/Mac/GenerateProjectFiles.sh -project=${CUR_DIR}/${PROJ_NAME}.uproject -game |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment