Fix missing path separator in prepare_resources-mac.py #599
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thanks for making a Pull Request!
Please fill out this template so that you can be sure that your PR does everything it needs to be accepted.
Description
Fixes a bug in the macOS resource copying script where
TARGET_BUILD_DIRandUNLOCALIZED_RESOURCES_FOLDER_PATHwere concatenated without a path separator, causing resources to be copied to an invalid path.Before:
/Users/name/ApplicationsApp.app/Contents/Resources(missing slash)After:
/Users/name/Applications/App.app/Contents/Resources(correct)This caused the standalone app to crash on startup with a segmentation fault when trying to render UI elements with missing bitmaps.
PR Checklist (none are applicable for this change)
format.bash?Unserialization.cpp.)