opencode
opencode copied to clipboard
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.