Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for the Freedesktop.org XDG Base Directory Specification. #177

Open
goteksc opened this issue Aug 7, 2024 · 0 comments
Open

Support for the Freedesktop.org XDG Base Directory Specification. #177

goteksc opened this issue Aug 7, 2024 · 0 comments

Comments

@goteksc
Copy link

goteksc commented Aug 7, 2024

Search for .xlcore/launcher.ini and related files in descending order:

XDG_CONFIG_HOME/xlcore
~/.config/xlcore
~/.xlcore

Maybe default patches dir into

XDG_CACHE_HOME/xlcore/patch
~/.cache/xlcore/patch
~/.xlcore/patch

And game install into

XDG_DATA_HOME/xlcore/ffxiv
XDG_DATA_HOME/xlcore/ffxivConfig

~/.local/share/xlcore/ffxiv
~/.local/share/xlcore/ffxivConfig

~/.xlcore/ffxiv
~/.xlcore/ffxivConfig

In my eyes the important one is allowing to read the config from another location to allow users to avoid another app cluttering up their home directory. The rest we can configure ourselves even now. Keep the old ~/.xlcore directory to not break existing user setups.

This would be similar to how under windows xivlauncher config lives under %appdata%/xivlauncher
The home directory clutter is horrible enough as it is. Many users, me among them have hidden files permanently showing, because that's how you configure stuff on linux.

In any case, thank you guys for the work you're doing on the project.

Resources:
https://specifications.freedesktop.org/basedir-spec/latest/
https://wiki.archlinux.org/title/XDG_Base_Directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant