Adds support for named rootfs configurations

If the relative or absolute folder doesn't exist then FEX will search in the data folder for a rootFS named the same thing
If the path exists then it is used.

For example if my data folder contains `$HOME/.fex-emu/RootFS/Ubuntu_main/` and I set the RootFS option to `Ubuntu_main`
Then this rootfs will be used. Allows you to easily select a rootfs in that folder without having the full file path.
This commit is contained in:
Ryan Houdek committed 2021-03-31 23:46:07 -07:00
1 parent 43b6cc1cb9
commit 8cf47f8221
2 files changed
+26 -3

No files matched your search

+8 -1
View File
@@ -46,7 +46,14 @@
"Default": "",
"ShortArg": "R",
"Desc": [
"Which Root filesystem prefix to use"
"Which Root filesystem prefix to use",
"This can be a filesystem path",
"\teg: ~/RootFS/Debian_x86_64",
"Or this can be a name of a rootfs",
"If the named rootfs exists in the FEX data folder then it will use that one",
"\teg: $HOME/.fex-emu/RootFS/<RootFS name>/",
"Or if you have XDG_DATA_HOME the config will search in that directory",
"\teg: $XDG_DATA_HOME/.fex-emu/RootFS/<RootFS name>/"
]
},
"ThunkHostLibs": {