goatcorp / XIVLauncher.Core

Cross-platform version of XIVLauncher, optimized for Steam Deck
GNU General Public License v3.0
84 stars 35 forks source link

[Request] Follow XDG Base Directory Specification #121

Open Cyan903 opened 2 months ago

Cyan903 commented 2 months ago

Seems like it was planned in #48, but I haven't seen any discussion about it yet. Are there any plans on implementing this in the future?

I know you can set custom directories for certain configurations which is pretty nice.

image

But it seems no matter what I try, ~/.xlcore will always be created. It would be nice if .xlcore was not installed in the home folder.

Blooym commented 2 months ago

It's definitely on our list to implement, a lot of the reason for it not having been done already is the fact we'd have migrate a lot of existing user data as well as change a lot of our other tools to support the new directories layout (not even including the flatpak which is it's own thing to deal with).

For now if you don't want .xlcore in your home directory, and you use the flatpak, you can remove home access and just allow access to steam paths (and other paths plugins may need like ~/Pictures!) and add a persist for .xlcore which will contain it inside of the flatpak directory instead.

Cyan903 commented 2 months ago

Glad to hear it's still planned in the future. I appreciate the workaround, but I'm not using flatpack. I installed the launcher through the aur. Is there any known workaround I can use to keep .xlcore out of my home folder? I don't really rely on many plugins to begin with so having plugins that refuse to work if ~/Pictures isn't found wouldn't really affect me.