fix: address maintainer review feedback on setup-macos.sh

Fix incorrect default Claude Desktop config path — macOS uses
~/Library/Application Support/Claude/claude_desktop_config.json,
not ~/.config/Claude/claude_desktop_config.json.

Capture stderr in merge_config subshell (2>&1) so Python tracebacks
and interpreter errors are surfaced instead of silently dropped when
the command substitution fails under set -e.

Update README.md and docs/PLATFORM_GUIDE.md to reflect the corrected
macOS config path, and split the combined Linux/macOS config location
reference into separate per-platform entries.

Add trailing newline at the end.
This commit is contained in:
nhebling
2026-04-11 21:10:14 +02:00
parent 0255064648
commit e28df51eb1
3 changed files with 8 additions and 7 deletions

View File

@@ -613,7 +613,7 @@ Specify a custom Claude Desktop configuration file.
Default:
```text
~/.config/Claude/claude_desktop_config.json
~/Library/Application Support/Claude/claude_desktop_config.json
```
Example:
@@ -667,7 +667,8 @@ Use the kicad MCP server to run check_kicad_ui.
Edit configuration file:
- **Linux/macOS:** `~/.config/Claude/claude_desktop_config.json`
- **Linux:** `~/.config/Claude/claude_desktop_config.json`
- **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
- **Windows:** `%APPDATA%\Claude\claude_desktop_config.json`
**Configuration:**