diff --git a/src/apps/com.autonavi.minimap.ts b/src/apps/com.autonavi.minimap.ts index c04c4782..5f01e9d5 100644 --- a/src/apps/com.autonavi.minimap.ts +++ b/src/apps/com.autonavi.minimap.ts @@ -7,14 +7,38 @@ export default defineAppConfig({ { key: 0, name: '开屏广告', - activityIds: 'com.autonavi.map.activity.NewMapActivity', - rules: - '[id="com.autonavi.minimap:id/fl_splash_container"] >n [text^="跳过"]', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: '@LinearLayout > [text^="跳过"][text.length<=10]', snapshotUrls: [ 'https://i.gkd.li/import/12667556', 'https://i.gkd.li/import/12750045', ], }, + { + key: 1, + name: '更新弹窗', + actionMaximum: 1, + resetMatch: 'app', + quickFind: true, + rules: [ + { + key: 1, + name: '更新弹窗-1', + matches: + '@[id="com.autonavi.minimap:id/iv_close"] + * > [text^="立即升级"]', + snapshotUrls: 'https://i.gkd.li/import/13379094', + }, + { + key: 2, + name: '更新弹窗-2', + matches: '@[text="取消"] + * + [text="去下载"]', + snapshotUrls: 'https://i.gkd.li/import/13379426', + }, + ], + }, { key: 10, name: '首页-地图页面上方消息提醒',