mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-21 17:17:51 -06:00
fix: read RetroArch's config under XDG_CONFIG_HOME
Native RetroArch on Linux keeps retroarch.cfg under $XDG_CONFIG_HOME/retroarch when the variable is set, and falls back to ~/.retroarch.cfg (file_path_special.c fill_pathname_application_data, configuration.c open_default_config_file at e98e1da0). Detection read ~/.config/retroarch only.
This commit is contained in:
1 parent
19898cb6ea
commit
97d0a478d2
7 files changed
+104
-18
No files matched your search
@@ -21,12 +21,24 @@
|
||||
"config": "$HOME/snap/retroarch/current/.config/retroarch/retroarch.cfg",
|
||||
"parse_key": "system_directory"
|
||||
},
|
||||
{
|
||||
"os": "linux",
|
||||
"method": "config_file",
|
||||
"config": "$XDG_CONFIG_HOME/retroarch/retroarch.cfg",
|
||||
"parse_key": "system_directory"
|
||||
},
|
||||
{
|
||||
"os": "linux",
|
||||
"method": "config_file",
|
||||
"config": "$HOME/.config/retroarch/retroarch.cfg",
|
||||
"parse_key": "system_directory"
|
||||
},
|
||||
{
|
||||
"os": "linux",
|
||||
"method": "config_file",
|
||||
"config": "$HOME/.retroarch.cfg",
|
||||
"parse_key": "system_directory"
|
||||
},
|
||||
{
|
||||
"os": "darwin",
|
||||
"method": "config_file",
|
||||
|
||||
Reference in new issue
Block a user