docs(config): update config dir paths for macOS/Windows in en & zh

Reflect the new config directory locations (~/.config/termscp on macOS,
%USERPROFILE%\.termscp on Windows) across the English and Chinese docs,
and add a CLAUDE.md note to keep both translations in sync.
This commit is contained in:
Christian Visintin
2026-06-08 16:39:24 +02:00
parent 837592e48a
commit afe7b05830
7 changed files with 17 additions and 16 deletions
+2 -2
View File
@@ -7,8 +7,8 @@ termscp 支持大量用户自定义参数。termscp 将这些参数存储在一
termscp 要求以下路径可访问:
- Linux/BSD 上的 `$HOME/.config/termscp/`
- macOS 上的 `$HOME/Library/Application Support/termscp`
- Windows 上的 `FOLDERID_RoamingAppData\termscp\`
- macOS 上的 `$HOME/.config/termscp/`
- Windows 上的 `%USERPROFILE%\.termscp\`
## 参数
+4 -4
View File
@@ -40,11 +40,11 @@ termscp 接受以下颜色格式:
termscp theme <theme.toml>
```
2. 手动编辑你的主题。如果你使用自定义主题,请编辑该文件并添加缺失的键。主题位于 `$CONFIG_DIR/termscp/theme.toml`,其中 `$CONFIG_DIR` 为:
2. 手动编辑你的主题。如果你使用自定义主题,请编辑该文件并添加缺失的键。主题位于 `$CONFIG_DIR/theme.toml`,其中 `$CONFIG_DIR` 为:
- FreeBSD/Linux:`$HOME/.config/`
- macOS:`$HOME/Library/Application Support`
- Windows:`%appdata%`
- FreeBSD/Linux:`$HOME/.config/termscp`
- macOS:`$HOME/.config/termscp`
- Windows:`%USERPROFILE%\.termscp`
缺失的键会在你刚安装的版本的 CHANGELOG 中 `BREAKING CHANGES` 部分列出。