设备型号数据库(友好名称)
macOS 伴随应用通过将 Apple 型号标识符(例如iPad16,6、Mac16,6)映射为可读友好的名称,在 Instances 界面展示 Apple 设备的友好型号名称。
该映射以 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 应用能干净地构建(无警告):