On Thu Apr 2 15:00:34 2026 +0000, Alfred Agrell wrote:
I'd prefer using $HOME/.wine/ if it exists, but never creating it; if it doesn't, use $XDG_DATA_DIR/wine/, or $HOME/.local/share/wine/ if that env isn't set either. My system (Debian+MATE) has a well populated ~/.local/share/, but doesn't set $XDG_DATA_DIR. Also, if we're going to consider four or five locations ($WINEPREFIX, $HOME/.wine/, $XDG_DATA_HOME/wine/, $HOME/.local/share/wine/, $HOME/Library/Application Support/Wine/), we should probably not duplicate that logic three times. Better refactor it to a shared function. @jactry will squash once I'm it's done (still waiting on word from upstream people as I said)
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10543#note_134831