Skip to content

Instantly share code, notes, and snippets.

@sarah-j-smith
Created September 14, 2024 07:56
Show Gist options
  • Save sarah-j-smith/cc4f2294de028c8be86c3255dfa52e17 to your computer and use it in GitHub Desktop.
Save sarah-j-smith/cc4f2294de028c8be86c3255dfa52e17 to your computer and use it in GitHub Desktop.
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