Closed pirate486743186 closed 10 months ago
Related PR: https://github.com/phoboslab/wipeout-rewrite/pull/10 – though SDL_GetPrefPath doesn't seem to honor $XDG_CONFIG_HOME
(yet). I don't think I want to go down this road and figure out the correct save path on each platform by myself. SDL_GetPrefPath()
seems to be "good enough".
It uses DATA_HOME
rather than CONFIG_HOME
.
For things like save games, it should be the preferred location.
Though there is always a bit of an ambiguity with those paths and not moving files all over the place.
it would be nice to follow the linux user folders standard.
the xdg standard https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
In short:
here, you only care about config