mirror of
https://github.com/morluto/rea.git
synced 2026-11-15 11:13:21 +00:00
Desktop capture used XDG_* values without checking that they are absolute, so a relative XDG_CONFIG_HOME (or data, state, cache) moved state-directory, desktop-entry and build-secret lookups under the working directory. The XDG Base Directory Specification says to ignore a relative value; one xdgBase helper now applies that rule and falls back to the home default. Fixes #9702 Squashed from #9705 and rebased onto main. Setup's client registration paths are left unchanged: each client's own handling of a relative XDG_CONFIG_HOME has to be verified before REA writes elsewhere. Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>