Commit c9ac201
fix: write JSON config without UTF-8 BOM on Windows (#281)
PowerShell's Set-Content -Encoding UTF8 adds a Byte Order Mark (BOM)
at the start of the file. Claude Desktop's JSON parser rejects BOM,
causing "Unexpected token" error on startup.
Fixed by using .NET's WriteAllText() which writes UTF-8 without BOM.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <noreply@anthropic.com>1 parent a405f61 commit c9ac201
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
| 102 | + | |
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
105 | | - | |
| 106 | + | |
| 107 | + | |
106 | 108 | | |
107 | 109 | | |
108 | 110 | | |
| |||
0 commit comments