opencode icon indicating copy to clipboard operation
opencode copied to clipboard

fix: Respect platform directory conventions

Open yousshim opened this issue 1 day ago • 2 comments

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.

yousshim avatar Jan 13 '26 15:01 yousshim