-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nall: Account for macOS app bundles in program path. (#1373)
Contains three main changes: * In `Path::program()`, account for the macOS app bundle, so that portable config support works with the app bundle. * Create a new function `Path::resources()` for the resources path, since `Path::program()` can no longer trivially be used to construct the bundle resources path (no guarantee what the .app is named). On macOS this returns the path to "ares.app/Contents/Resources", on other platforms (in case they use it in the future) it just returns the same as `Path::program()`. * Fix an issue where, if Ares is stored in a sub-directory of the desktop, the path settings UI will display paths next to the program as relative to the desktop instead of relative to the program directory.
- Loading branch information
Steveice10
authored
Jan 22, 2024
1 parent
d823641
commit d6b2ca5
Showing
5 changed files
with
34 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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