generated from nhcarrigan/template
c4af551375
## Summary - `get_global_claude_md` and `save_global_claude_md` were using `dirs::home_dir()` which resolves to the Windows home directory (`C:\Users\accou`) on Windows builds - The actual `~/.claude/CLAUDE.md` lives in the WSL home directory, so the editor was always showing an empty text box and would have written to the wrong location on save - Added `get_global_claude_md_via_wsl()` and `save_global_claude_md_via_wsl()` helpers that shell out to WSL (matching the existing pattern used by `list_skills` and `list_memory_files`) - Both Tauri commands now branch on `cfg!(target_os = "windows")` to use the appropriate path ## Test plan - [ ] Open Settings sidebar on a Windows build — Global Instructions textarea should load the contents of `~/.claude/CLAUDE.md` from WSL - [ ] Edit the content and click Save — verify the WSL file is updated - [ ] Verify Linux/macOS builds are unaffected (native filesystem path unchanged) ✨ This issue was created with help from Hikari~ 🌸 Reviewed-on: #264 Co-authored-by: Hikari <hikari@nhcarrigan.com> Co-committed-by: Hikari <hikari@nhcarrigan.com>