Files
qwqcode 1d5811a59c feat(config): enhance config file and data dir retrieval (#992)
* feat(config): enhance config file and data dir retrieval

- Add xdg package for XDG base directory support
- Update RetrieveConfigFile to search in XDG_CONFIG_HOME and /etc
- Add RetrieveDataDir to find data directory in XDG_DATA_HOME and /var/lib
- Improve comments for better understanding of search order

* add unit tests
2024-10-03 15:04:42 +08:00
..