USE XDG_CACHE instead of ~/.config/wslu #290
Labels
Bug
This is either an issue that describes a bug or a PR that resolves a bug
Status: Patched
This is fixed and is part of a released version.
Target: 4.x
This is targeted to the 4.x release.
Windows Version
Windows 11
Windows Build Number
latest
WSL Version
WSL 2
Distro Version
Almalinux
WSL Utilities Version
wslu v4.1.1-1
Describe the bug
files are being created in a hardcoded ~/.config/wslu:
but these are not config-files.
rather cache-files or state
To avoid hardcoding: better use:
XDG_CONFIG_HOME (default to ~/.config)
or better:
XDG_STATE_HOME (default to~/.local/state)
XDG_CACHE_HOME (default to~/.cache)
Steps to Reproduce
ls ~/.config/wlu
Expected behavior
ls ~/.cache/wlu
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: