macOS 配套应用会在 Instances UI 中显示友好的 Apple 设备型号名称,方法是将 Apple 型号标识符(例如Documentation Index
Fetch the complete documentation index at: https://docs.openclaw.ai/llms.txt
Use this file to discover all available pages before exploring further.
iPad16,6、Mac16,6)映射为人类可读的名称。
该映射以 JSON 形式内置在以下位置:
apps/macos/Sources/OpenClaw/Resources/DeviceModels/
数据来源
我们当前从以下 MIT 许可仓库内置该映射:kyle-seongwoo-jun/apple-device-identifiers
apps/macos/Sources/OpenClaw/Resources/DeviceModels/NOTICE.md 中)。
更新数据库
- 选择你要固定的上游提交(一个用于 iOS,一个用于 macOS)。
- 更新
apps/macos/Sources/OpenClaw/Resources/DeviceModels/NOTICE.md中的提交哈希。 - 重新下载这些 JSON 文件,并固定到这些提交:
- 确保
apps/macos/Sources/OpenClaw/Resources/DeviceModels/LICENSE.apple-device-identifiers.txt仍与上游一致(如果上游许可证变更,请替换它)。 - 验证 macOS 应用能够干净构建(无警告):