Skip to content

Conversation

@yousshim
Copy link

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.

xdg-basedir respects only the linux xdg standard. This commit
replaces it with env-paths which respects the conventions on
mac os and windows
@github-actions
Copy link
Contributor

Hey! Your PR title [FIX] Respect platform directory conventions doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@yousshim yousshim changed the title [FIX] Respect platform directory conventions fix: Respect platform directory conventions Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Config and Data directories follow the Linux XDG standard even on windows

1 participant