了解 settings.json 并修复损坏的文件
应用范围的设置保存在配置文件夹中的 settings.json 里(参见配置位于何处)。请在设置窗口中更改它们,那里列出了每项设置及其 JSON 键和默认值。日志及其保留规则见日志页面。
一个 JSON 对象。你省略的键会取默认值:
{ "closeToTray": true, "transparency": 20, "debugLogging": true, "cliLogging": true, "logRetentionMb": 25}| 键 | 默认值 |
|---|---|
closeToTray |
false |
minimizeToTray |
true |
showInTray |
true |
showInTaskbar |
true |
alwaysOnTop |
false |
transparency |
0(0 到 90) |
showStatusbar |
true |
showMcpProcesses |
true |
checkOnStartup |
true |
locale |
"auto" |
debugLogging |
false |
cliLogging |
false |
logRetentionMb |
10(最小为 1) |
替你写入的键
Section titled “替你写入的键”Moonpool 还会把界面缩放(uiScale,0.5 到 3.0)和解析出的语言(localeResolved)存放在这个文件中。你不需要设置它们。主题不在这里:它保存在 webview 的存储中(参见主题、语言与透明度)。
Moonpool 在启动时读取该文件。运行期间所做的编辑不会被读取;请先退出。
如果文件格式有误,Moonpool 会用默认值启动,并拒绝更改设置。错误信息以 Repair settings.json and restart Moonpool before changing settings(请先修复 settings.json 并重启 Moonpool,再更改设置)结尾。请修复文件,或删除它以重置所有设置,然后重新启动 Moonpool。
Moonpool 是来自以下团队的免费软件: FasterDB