From bbeed89f3b51ae8fcdf120442b216e6a20244f41 Mon Sep 17 00:00:00 2001 From: AIsouler <57941037+AIsouler@users.noreply.github.com> Date: Sun, 12 May 2024 10:12:53 +0800 Subject: [PATCH] perf (#216) Co-authored-by: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> --- src/apps/com.xiaomi.mico.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/apps/com.xiaomi.mico.ts b/src/apps/com.xiaomi.mico.ts index 680590bd..05e2b787 100644 --- a/src/apps/com.xiaomi.mico.ts +++ b/src/apps/com.xiaomi.mico.ts @@ -12,5 +12,19 @@ export default defineGkdApp({ '[id="com.xiaomi.mico:id/adImage"] + [id="com.xiaomi.mico:id/ivCloseAd"]', snapshotUrls: 'https://i.gkd.li/i/12745621', }, + { + key: 2, + name: '权限提示-请求开启定位权限弹窗', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + quickFind: true, + rules: [ + { + matches: ['[text*="开启位置服务"]', '[text="取消"]'], + snapshotUrls: 'https://i.gkd.li/i/15284753', + }, + ], + }, ], });