brezerk / q4wine

Q4Wine is a Qt GUI for W.I.N.E. It will help you manage wine prefixes and installed applications.
http://q4wine.brezblock.org.ua/
GNU General Public License v3.0
208 stars 40 forks source link

XDG Base Directory Specification support #178

Closed tim77 closed 3 years ago

tim77 commented 3 years ago

Hello. Currently ~/.config and ~/.local/share paths are hardcoded in the app. The problem is that non-compliance with the XDG standard doesn't allow to control the location of data/configurations when using environment variables XDG_DATA_HOME/XDG_CONFIG_HOME as prescribed by the specification.

This especially important for packaging app in Flatpak format. This is must have for solving this issue https://github.com/brezerk/q4wine/issues/147#.

See:

brezerk commented 3 years ago

Yeah. This is quite good legacy. Looking

brezerk commented 3 years ago

Thanks for reporting; Should be resolved now.

tim77 commented 3 years ago

Just awesome. @brezerk thanks a lot. I've already tested a little bit this patches and LGTM.