{ "version": 1, "rules": [ { "id": "setup.apple_account_skip_modal", "stage": "setup_assistant", "priority": 100, "match": { "roi": "modal", "any_of": [ "Are you sure you want to skip", "确定要跳过", "確定要略過", "スキップしてもよろしいですか" ], "fuzzy": true }, "actions": [ { "op": "click_ocr", "roi": "modal", "any_of": ["Skip", "跳过", "略過", "スキップ"], "fuzzy": true } ], "verify": { "wait_change_ms": 6000, "max_retries": 2 } }, { "id": "setup.terms_modal", "stage": "setup_assistant", "priority": 100, "requires_sla": true, "match": { "roi": "modal", "any_of": [ "I have read and agree", "我已阅读并同意", "我已閱讀並同意", "同意します" ], "fuzzy": true }, "actions": [ { "op": "click_blue_button", "roi": "modal", "any_of": ["Agree", "同意"], "fuzzy": true } ], "verify": { "wait_change_ms": 6000, "max_retries": 2 } }, { "id": "setup.filevault_modal", "stage": "setup_assistant", "priority": 100, "allow_high_risk": true, "match": { "roi": "modal", "any_of": [ "Mac Data Will Not Be Securely Encrypted", "数据将不会被安全加密", "資料將不會安全加密", "暗号化されません" ], "fuzzy": true }, "actions": [ { "op": "click_ocr", "roi": "modal", "any_of": ["Continue Without", "不加密继续", "继续", "Continue", "Don't Use", "不使用"], "fuzzy": true } ], "verify": { "wait_change_ms": 6000, "max_retries": 2 } }, { "id": "setup.location_modal", "stage": "setup_assistant", "priority": 98, "match": { "roi": "modal", "any_of": [ "Are you sure you don't want to use Location Services", "确定不使用定位服务", "確定不使用定位服務" ], "fuzzy": true }, "actions": [ { "op": "click_ocr", "roi": "modal", "any_of": ["Don't Use", "不使用"], "fuzzy": true } ], "verify": { "wait_change_ms": 6000, "max_retries": 2 } }, { "id": "setup.hello", "stage": "setup_assistant", "priority": 40, "match": { "roi": "body", "any_of": ["hello", "你好", "bonjour", "hola", "こんにちは"], "fuzzy": false }, "actions": [ { "op": "click_circle_or_key", "roi": "action_bar", "fallback_key": "spc" } ], "verify": { "wait_change_ms": 8000, "max_retries": 2 } }, { "id": "setup.language", "stage": "setup_assistant", "priority": 85, "match": { "roi": "title_band", "any_of": ["Select Your Language", "选择语言", "選擇語言", "言語を選択"], "fuzzy": true }, "actions": [ { "op": "key", "key": "ret" } ], "verify": { "wait_change_ms": 8000, "max_retries": 2 } }, { "id": "setup.region", "stage": "setup_assistant", "priority": 80, "match": { "roi": "title_band", "any_of": [ "Select Your Country or Region", "选择国家或地区", "選擇國家或地區", "国または地域を選択" ], "fuzzy": true }, "actions": [ { "op": "click_blue_button", "roi": "action_bar", "any_of": ["Continue", "继续", "繼續", "続ける"], "fuzzy": true } ], "verify": { "wait_change_ms": 8000, "max_retries": 2 } }, { "id": "setup.written_lang", "stage": "setup_assistant", "priority": 78, "match": { "roi": "title_band", "any_of": [ "Written and Spoken Languages", "书面和口头语言", "書寫和口說語言", "文字入力および音声入力の言語" ], "fuzzy": true }, "actions": [ { "op": "click_blue_button", "roi": "action_bar", "any_of": ["Continue", "继续", "繼續", "続ける"], "fuzzy": true } ], "verify": { "wait_change_ms": 8000, "max_retries": 2 } }, { "id": "setup.migration", "stage": "setup_assistant", "priority": 76, "match": { "roi": "title_band", "any_of": [ "Migration Assistant", "Transfer Your Data", "迁移助理", "将你的数据传输到此 Mac", "系統移轉輔助程式", "移行アシスタント" ], "fuzzy": true }, "actions": [ { "op": "click_ocr", "roi": "action_bar", "any_of": ["Not Now", "以后", "稍後", "今はしない"], "fuzzy": true } ], "verify": { "wait_change_ms": 8000, "max_retries": 2 } }, { "id": "setup.accessibility", "stage": "setup_assistant", "priority": 75, "match": { "roi": "title_band", "any_of": ["Accessibility", "辅助功能", "輔助使用", "アクセシビリティ"], "fuzzy": true }, "actions": [ { "op": "click_ocr", "roi": "action_bar", "any_of": ["Not Now", "以后", "稍後", "今はしない"], "fuzzy": true } ], "verify": { "wait_change_ms": 8000, "max_retries": 2 } }, { "id": "setup.network", "stage": "setup_assistant", "priority": 74, "match": { "roi": "title_band", "any_of": [ "Select Your Wi-Fi Network", "Internet Connection", "互联网连接", "选择无线局域网", "Wi-Fiネットワークを選択" ], "fuzzy": true }, "actions": [ { "op": "click_blue_button", "roi": "action_bar", "any_of": ["Continue", "继续", "繼續", "続ける", "Other Network Options", "其他网络选项"], "fuzzy": true } ], "verify": { "wait_change_ms": 8000, "max_retries": 2 } }, { "id": "setup.privacy", "stage": "setup_assistant", "priority": 72, "match": { "roi": "title_band", "any_of": ["Data & Privacy", "数据与隐私", "資料與隱私權", "データとプライバシー"], "fuzzy": true }, "actions": [ { "op": "click_blue_button", "roi": "action_bar", "any_of": ["Continue", "继续", "繼續", "続ける"], "fuzzy": true } ], "verify": { "wait_change_ms": 8000, "max_retries": 2 } }, { "id": "setup.create_account", "stage": "setup_assistant", "priority": 70, "match": { "roi": "title_band", "any_of": [ "Create a Computer Account", "Create a Mac Account", "创建电脑账户", "创建 Mac 账户", "建立電腦帳號", "コンピュータアカウントを作成" ], "fuzzy": true }, "actions": [ { "op": "fill_account_form", "roi": "body" }, { "op": "click_blue_button", "roi": "action_bar", "any_of": ["Continue", "继续", "繼續", "続ける"], "fuzzy": true } ], "verify": { "wait_change_ms": 12000, "max_retries": 2 } }, { "id": "setup.apple_account", "stage": "setup_assistant", "priority": 68, "match": { "roi": "title_band", "any_of": [ "Sign In with Your Apple", "使用你的 Apple 账户登录", "使用你的 Apple ID 登录", "使用你的 Apple 帳號登入", "Apple Accountでサインイン" ], "fuzzy": true }, "actions": [ { "op": "click_ocr", "roi": "action_bar", "any_of": ["Set Up Later", "稍后设置", "稍後設定", "あとで設定"], "fuzzy": true } ], "verify": { "wait_change_ms": 8000, "max_retries": 2 } }, { "id": "setup.terms", "stage": "setup_assistant", "priority": 66, "requires_sla": true, "match": { "roi": "title_band", "any_of": ["Terms and Conditions", "条款与条件", "條款與約定", "利用規約"], "fuzzy": true }, "actions": [ { "op": "click_blue_button", "roi": "action_bar", "any_of": ["Agree", "同意"], "fuzzy": true } ], "verify": { "wait_change_ms": 8000, "max_retries": 2 } }, { "id": "setup.age_range", "stage": "setup_assistant", "priority": 64, "match": { "roi": "title_band", "any_of": ["Age Range", "选择年龄段", "年龄范围", "年齡範圍", "年齢層"], "fuzzy": true }, "actions": [ { "op": "select_pref_ocr", "roi": "body", "pref_key": "age_range" }, { "op": "click_blue_button", "roi": "action_bar", "any_of": ["Continue", "继续", "繼續", "続ける"], "fuzzy": true } ], "verify": { "wait_change_ms": 8000, "max_retries": 2 } }, { "id": "setup.location", "stage": "setup_assistant", "priority": 62, "match": { "roi": "title_band", "any_of": ["Enable Location Services", "Location Services", "启用定位服务", "定位服务", "定位服務", "位置情報サービス"], "fuzzy": true }, "actions": [ { "op": "ensure_checkbox", "roi": "body", "any_of": ["Enable Location Services", "启用定位服务", "啟用定位服務"], "want_checked": false, "fuzzy": true }, { "op": "click_blue_button", "roi": "action_bar", "any_of": ["Continue", "继续", "繼續", "続ける"], "fuzzy": true } ], "verify": { "wait_change_ms": 8000, "max_retries": 2 } }, { "id": "setup.timezone", "stage": "setup_assistant", "priority": 60, "match": { "roi": "title_band", "any_of": ["Select Your Time Zone", "选择时区", "選擇時區", "時間帯を選択"], "fuzzy": true }, "actions": [ { "op": "click_blue_button", "roi": "action_bar", "any_of": ["Continue", "继续", "繼續", "続ける"], "fuzzy": true } ], "verify": { "wait_change_ms": 8000, "max_retries": 2 } }, { "id": "setup.analytics", "stage": "setup_assistant", "priority": 58, "match": { "roi": "title_band", "any_of": ["Analytics", "分析", "解析"], "fuzzy": true }, "actions": [ { "op": "ensure_checkbox", "roi": "body", "any_of": ["Share Mac Analytics", "与 Apple 共享 Mac 分析", "共享 Mac 分析"], "want_checked": false, "fuzzy": true }, { "op": "click_blue_button", "roi": "action_bar", "any_of": ["Continue", "继续", "繼續", "続ける"], "fuzzy": true } ], "verify": { "wait_change_ms": 8000, "max_retries": 2 } }, { "id": "setup.screen_time", "stage": "setup_assistant", "priority": 56, "match": { "roi": "title_band", "any_of": ["Screen Time", "屏幕使用时间", "螢幕使用時間", "スクリーンタイム"], "fuzzy": true }, "actions": [ { "op": "click_ocr", "roi": "action_bar", "any_of": ["Set Up Later", "稍后设置", "稍後設定", "あとで設定"], "fuzzy": true } ], "verify": { "wait_change_ms": 8000, "max_retries": 2 } }, { "id": "setup.siri", "stage": "setup_assistant", "priority": 54, "match": { "roi": "title_band", "any_of": ["Siri", "Apple Intelligence"], "fuzzy": true }, "actions": [ { "op": "click_ocr", "roi": "action_bar", "any_of": ["Set Up Later", "Not Now", "稍后设置", "以后", "稍後設定", "あとで設定"], "fuzzy": true } ], "verify": { "wait_change_ms": 8000, "max_retries": 2 } }, { "id": "setup.filevault", "stage": "setup_assistant", "priority": 52, "allow_high_risk": true, "match": { "roi": "title_band", "any_of": [ "FileVault", "Your Mac is Ready for FileVault", "文件保险箱", "檔案保險箱" ], "fuzzy": true }, "actions": [ { "op": "ensure_checkbox", "roi": "body", "any_of": ["Turn on FileVault", "打开文件保险箱", "开启文件保险箱", "開啟檔案保險箱"], "want_checked": false, "fuzzy": true }, { "op": "click_ocr", "roi": "action_bar", "any_of": ["Not Now", "Set Up Later", "以后", "稍后设置", "Continue", "继续"], "fuzzy": true } ], "verify": { "wait_change_ms": 8000, "max_retries": 2 } }, { "id": "setup.appearance", "stage": "setup_assistant", "priority": 50, "match": { "roi": "title_band", "any_of": ["Choose Your Look", "选择外观", "選擇外觀", "外観モードを選択"], "fuzzy": true }, "actions": [ { "op": "select_pref_ocr", "roi": "body", "pref_key": "appearance" }, { "op": "click_blue_button", "roi": "action_bar", "any_of": ["Continue", "继续", "繼續", "続ける"], "fuzzy": true } ], "verify": { "wait_change_ms": 8000, "max_retries": 2 } }, { "id": "setup.auto_update", "stage": "setup_assistant", "priority": 48, "match": { "roi": "title_band", "any_of": ["Update Mac Automatically", "自动更新 Mac", "自動更新 Mac", "Macを自動的にアップデート"], "fuzzy": true }, "actions": [ { "op": "click_ocr", "roi": "action_bar", "any_of": ["Not Now", "以后", "Continue", "继续"], "fuzzy": true } ], "verify": { "wait_change_ms": 8000, "max_retries": 2 } }, { "id": "setup.welcome_mac", "stage": "setup_assistant", "priority": 45, "match": { "roi": "title_band", "any_of": ["Welcome to Mac", "欢迎使用 Mac", "歡迎使用 Mac", "Macへようこそ"], "fuzzy": true }, "actions": [ { "op": "click_blue_button", "roi": "action_bar", "any_of": ["Continue", "继续", "Get Started", "开始使用"], "fuzzy": true } ], "verify": { "wait_change_ms": 8000, "max_retries": 2 } } ] }