diff --git a/src/apps/com.android.updater.ts b/src/apps/com.android.updater.ts index b0ea40d2..1bba31ff 100644 --- a/src/apps/com.android.updater.ts +++ b/src/apps/com.android.updater.ts @@ -6,15 +6,16 @@ export default defineGkdApp({ groups: [ { key: 0, - name: '更新提示-MIUI更新弹窗', + name: '更新提示-智能更新弹窗', + quickFind: true, matchTime: 10000, actionMaximum: 1, resetMatch: 'app', - rules: - '[id="com.android.updater:id/alertTitle"][text="开启智能更新"] < * +2 * > Button[id="android:id/button2"][text="暂不开启"]', - snapshotUrls: [ - 'https://i.gkd.li/i/12715712', - 'https://i.gkd.li/i/12749906', + rules: [ + { + matches: ['[text="开启智能更新"]', '[text="暂不开启"]'], + snapshotUrls: 'https://i.gkd.li/i/15386937', + }, ], }, ],