fix: Respect platform directory conventions
fixes #8235
xdg-basedir respects only the linux xdg standard. This commit replaces it with env-paths which respects the conventions on mac os and windows
What does this PR do?
Replaces "xdg-basedir" with "env-paths" which respects platform specific directory conventions.
How did you verify your code works?
Compiled and ran on windows and verified connecting to a provider stored the "auth.json" in the correct directory.
Hey! Your PR title [FIX] Respect platform directory conventions doesn't follow conventional commit format.
Please update it to start with one of:
-
feat:orfeat(scope):new feature -
fix:orfix(scope):bug fix -
docs:ordocs(scope):documentation changes -
chore:orchore(scope):maintenance tasks -
refactor:orrefactor(scope):code refactoring -
test:ortest(scope):adding or updating tests
Where scope is the package name (e.g., app, desktop, opencode).
See CONTRIBUTING.md for details.
The following comment was made by an LLM, it may be inaccurate:
No duplicate PRs found