From 0c679420eef62730cf5f7a241cce37feba87c3f1 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Thu, 9 Nov 2023 18:14:55 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E9=A1=BA=E4=B8=B0=E9=80=9F=E8=BF=90):=20?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=BC=B9=E7=AA=97=EF=BC=88=E8=A1=A5=E5=85=85?= =?UTF-8?q?=E8=A7=84=E5=88=99=EF=BC=89=20(#1921)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.sf.activity.ts | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/apps/com.sf.activity.ts b/src/apps/com.sf.activity.ts index 1ea6f71b..957184c9 100644 --- a/src/apps/com.sf.activity.ts +++ b/src/apps/com.sf.activity.ts @@ -20,8 +20,19 @@ export default defineAppConfig({ key: 1, name: '更新弹窗', activityIds: 'com.sf.activity.MainActivity', - rules: ['@[text="取消"] < ViewGroup - ScrollView >(2) [text*="新版本"]'], - snapshotUrls: 'https://gkd-kit.gitee.io/import/12642445', + rules: [ + { + key: 0, + matches: + '@[text="取消"] < ViewGroup - ScrollView >(2) [text*="新版本"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12642445', + }, + { + key: 1, + matches: '@[desc="取消"] - ViewGroup >n [text="立即升级"]', + snapshotUrls: 'https://i.gkd.li/import/13291144', + }, + ], }, { key: 2,