macOS 輔助應用程式會在 執行個體 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 應用程式能乾淨建置(沒有警告):