mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-12 05:21:54 +01:00
When running the CLI in WSL, dirs::data_dir() returns the Linux path instead of the Windows host path where the Yaak desktop app stores data. This detects WSL via /proc/version, resolves %APPDATA% through cmd.exe, and converts it to a WSL mount path using wslpath. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>