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

DSDA-Doom configuration being saved onto ~/.dsda-doom instead of $XDG_DATA_HOME #14

Open
RedStoner420 opened this issue Aug 14, 2024 · 3 comments

Comments

@RedStoner420
Copy link

When using DSDA-Doom v0.28.0 (which added support for the dsda-doom config folder inside $XDG_DATA_HOME) it reads and writes configuration from and to $XDG_DATA_HOME/dsda-doom as expected. However, when launching dsda-doom with dsda-launcher it saves configuration to ~/dsda-doom.

@Pedro-Beirao
Copy link
Owner

Pedro-Beirao commented Aug 14, 2024

dsda-launcher currently only supports ~/.dsda-doom, and its configuration files are saved there.
For the next version, ill be sure to add support for $XDG_DATA_HOME the same way dsda-doom does.

But are you saying that the dsda-doom v0.28.0 configs (not the launcher's) are also saved to ~/.dsda-doom? That should not happen. Maybe dsda-launcher is launching an older version of dsda-doom?

@Gliczy
Copy link
Contributor

Gliczy commented Aug 17, 2024

With the added support for $XDG_DATA_HOME in dsda-doom, it first checks for the legacy directory ~/.dsda-doom and if it's not found it will instead use $XDG_DATA_HOME/dsda-doom.

However, since dsda-launcher still uses ~/.dsda-doom for it's configuration, it will create this directory if it’s missing. This, in turn, will cause dsda-doom to use this directory for its configuration as well, since dsda-doom first checks for the legacy directory.

@Pedro-Beirao
Copy link
Owner

Oh I see. Thats funny!

I will fix this for the next version, but that wont happen until maybe september. Im busy and there is still quite a bit of work to be done for this update.

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

3 participants