-
-
Notifications
You must be signed in to change notification settings - Fork 407
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TECH] Set Legendary's config path to a Heroic-specific location (#2803)
* Set Legendary's config path to a Heroic-specific location Legendary derives its configuration path using `XDG_CONFIG_HOME`. By setting this environment variable to a Heroic-specific location, we can rule out the user influencing Heroic's functionality by changing Legendary's config file. Legendary's configuration now lives in `<heroic config>/legendaryConfig`, and Heroic will migrate an already existent config directory to this new path if it's found. * Remove "launch --json" call The purpose of this was making sure the user didn't modify `config.ini` in a problematic way. Now that we alone control the config file, we don't have to worry about this anymore. As a side effect, this also resolves issues for MacOS users without a CrossOver installation (Legendary would try to auto-detect CX & crash if nothing is found)
- Loading branch information
Showing
3 changed files
with
27 additions
and
29 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