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,