裝置型號資料庫(友善名稱)
macOS Companion App 透過將 Apple Model 識別碼(例如iPad16,6、Mac16,6)對應至人類可讀名稱,在 Instances UI 中顯示友善的 Apple 裝置型號名稱。
Mapping 以 JSON Vendor 在:
apps/macos/Sources/OpenClaw/Resources/DeviceModels/
資料來源
我們目前 Vendor MIT 授權 Repository 中的 Mapping:kyle-seongwoo-jun/apple-device-identifiers
apps/macos/Sources/OpenClaw/Resources/DeviceModels/NOTICE.md)。
更新資料庫
- 選擇您想要釘選的 Upstream Commits(一個用於 iOS,一個用於 macOS)。
- 更新
apps/macos/Sources/OpenClaw/Resources/DeviceModels/NOTICE.md中的 Commit Hashes。 - 重新下載 JSON 檔案,釘選到那些 Commits:
- 確保
apps/macos/Sources/OpenClaw/Resources/DeviceModels/LICENSE.apple-device-identifiers.txt仍與 Upstream 相符(如果 Upstream License 變更則取代它)。 - 驗證 macOS App Build 正常(無警告):