mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-17 15:17:52 -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
@@ -27,8 +27,8 @@
|
||||
{
|
||||
"dest": "roms/ports/retrobios/install.py",
|
||||
"repo_path": "install.py",
|
||||
"size": 1103111,
|
||||
"sha256": "34fd006cc0456c61b9a621e52f35cee6d3fd55ff14bbc6cea207ddc7bc57d858",
|
||||
"size": 1103894,
|
||||
"sha256": "f48287847612b616bcaf607bd50207353bef5648e650a732c2d9595a64726ab0",
|
||||
"executable": false
|
||||
},
|
||||
{
|
||||
@@ -71,8 +71,8 @@
|
||||
"muos": {
|
||||
"archive": {
|
||||
"dest": "ARCHIVE/RetroBIOS.muxapp",
|
||||
"size": 1156738,
|
||||
"sha256": "35c0920008baadca997d0f778e99ce46d702bbe3d3f0d33104d7158422b292aa"
|
||||
"size": 1157521,
|
||||
"sha256": "0f9b070334a530a0ed5a6b6b773928d92f5a08aa0d0af18fde7b6cb4a16e731d"
|
||||
},
|
||||
"members": [
|
||||
{
|
||||
@@ -92,8 +92,8 @@
|
||||
{
|
||||
"name": "RetroBIOS/install.py",
|
||||
"repo_path": "install.py",
|
||||
"size": 1103111,
|
||||
"sha256": "34fd006cc0456c61b9a621e52f35cee6d3fd55ff14bbc6cea207ddc7bc57d858",
|
||||
"size": 1103894,
|
||||
"sha256": "f48287847612b616bcaf607bd50207353bef5648e650a732c2d9595a64726ab0",
|
||||
"executable": false
|
||||
},
|
||||
{
|
||||
@@ -166,8 +166,8 @@
|
||||
{
|
||||
"dest": ".config/modules/retrobios/install.py",
|
||||
"repo_path": "install.py",
|
||||
"size": 1103111,
|
||||
"sha256": "34fd006cc0456c61b9a621e52f35cee6d3fd55ff14bbc6cea207ddc7bc57d858",
|
||||
"size": 1103894,
|
||||
"sha256": "f48287847612b616bcaf607bd50207353bef5648e650a732c2d9595a64726ab0",
|
||||
"executable": false
|
||||
},
|
||||
{
|
||||
|
||||
@@ -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