From d1f7de6d115e47e1807741001799c1ae3aaa3937 Mon Sep 17 00:00:00 2001 From: walklty <47232102+walklty@users.noreply.github.com> Date: Wed, 8 Nov 2023 00:07:19 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=85=A8=E8=83=BD=E8=AE=A1=E7=AE=97?= =?UTF-8?q?=E5=99=A8):=20=E4=BA=AC=E4=B8=9C=E5=BC=B9=E7=AA=97=20(#1876)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update com.jincheng.supercaculator.ts * Update com.jincheng.supercaculator.ts * Update com.jincheng.supercaculator.ts * feat(全能计算器): 规则优化 --------- Co-authored-by: 二刺螈 close #1834 --- src/apps/com.jincheng.supercaculator.ts | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/src/apps/com.jincheng.supercaculator.ts b/src/apps/com.jincheng.supercaculator.ts index 13c04721..37f79326 100644 --- a/src/apps/com.jincheng.supercaculator.ts +++ b/src/apps/com.jincheng.supercaculator.ts @@ -8,11 +8,21 @@ export default defineAppConfig({ key: 0, name: '弹窗广告', desc: '点击右上角x', - activityIds: 'com.jincheng.supercaculator.activity.MainActivity', - rules: '@Image < View < View TextView[text = "反馈"]', - snapshotUrls: [ - 'https://i.gkd.li/import/12859523', - 'https://i.gkd.li/import/12859545', + rules: [ + { + activityIds: 'com.jincheng.supercaculator.activity.MainActivity', + matches: '@Image < View < View TextView[text = "反馈"]', + snapshotUrls: [ + 'https://i.gkd.li/import/12859523', + 'https://i.gkd.li/import/12859545', + ], + }, + { + activityIds: 'com.jincheng.supercaculator.activity.SplashActivity', + matches: + 'TextView < LinearLayout[childCount=2] < FrameLayout[childCount=2] > FrameLayout[childCount=1] > ImageView', + snapshotUrls: ['https://gkd-kit.gitee.io/import/13261870'], + }, ], }, ],