Closed SpotlightKid closed 9 months ago
well yeah that is the point if you look just above that code line. the xdg stuff is still TODO. the whole app initialization thing is very crude and ugly, just enough to get things started for now.
Fixed in 503c5edeab0b8570de38a3036fce96231c2b6b0d, now using Qt for this, by means of QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation)
Please don't do that:
https://github.com/moddevices/mod-app/blob/063a88eaef4379bcaf30c1b2269988500cceb2dd/systray/main.cpp#L245
That will clutter the user's home directory with yet another directory, if the desktop language isn't english or the user changed the location of the
DOCUMENTS
folder.Use
xdg-user-dir DOCUMENTS
everywhere instead.