Skip to content

Comments

Prefer XDG_DATA_HOME for todo data#2

Open
mack-stefan wants to merge 1 commit intoarrangabriel:mainfrom
mack-stefan:main
Open

Prefer XDG_DATA_HOME for todo data#2
mack-stefan wants to merge 1 commit intoarrangabriel:mainfrom
mack-stefan:main

Conversation

@mack-stefan
Copy link

App data files should reside in the user-defined XDG_DATA_HOME directory. At some point it could be desirable to split config and data as per https://specifications.freedesktop.org/basedir-spec/latest/

App data files should reside in the user-defined XDG_DATA_HOME directory. At
some point it could be desirable to split config and data.

Author: Stefan Mack
@arrangabriel
Copy link
Owner

Considering using something like this to get directories for both data and config. The dirs crate supports windows as well, but it won't use xdg conventions on Mac, which is a bit annoying.

@mack-stefan
Copy link
Author

Personally I dislike Apple placement, so I think the XDG crate is preferable over the dirs crate. While this may not work for windows users, I believe it should work for people using WSL.

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

Successfully merging this pull request may close these issues.

2 participants