Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix MacOS Content directory location.
According to the docs [1] we now have the arm64 and x64 platforms in a MacOS app bundle are now in their own subdirectories. The problem is our code in the TitleContainer assumes the `Resources` directory is only one level above the `MacOS` directory. ``` Contents/ MacOS/ Resources/ ``` However with the new platform specific code the recommendation is to place the arm64 and x64 code in their own folders. ``` Contents/ MacOS/ arm64/ amd64/ Resources/ ``` The means that we can never find the `Resources` directory and it defaults to the current directory. Which will cause a crash. So lets add another backup path check to handle this situation. [1] https://docs.monogame.net/articles/getting_started/packaging_games.html?tabs=macos
- Loading branch information