From 20ec166351b7cce8a84b71c1c336f0ca32fbb7a9 Mon Sep 17 00:00:00 2001 From: walklty <47232102+walklty@users.noreply.github.com> Date: Sat, 28 Oct 2023 23:00:13 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=A5=87=E5=A6=99=E5=BA=94=E7=94=A8):=20?= =?UTF-8?q?=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A,=20=E4=B8=8B=E6=96=B9?= =?UTF-8?q?=E6=A8=AA=E5=B9=85=20(#1455)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Create com.magicalstory.AppStore.ts * chore(actions): check_format_lint * Update com.magicalstory.AppStore.ts * feat(奇妙应用): 规则优化 --------- Co-authored-by: github-actions[bot] Co-authored-by: lisonge close #1451 close #1479 --- src/apps/com.magicalstory.AppStore.ts | 39 +++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 src/apps/com.magicalstory.AppStore.ts diff --git a/src/apps/com.magicalstory.AppStore.ts b/src/apps/com.magicalstory.AppStore.ts new file mode 100644 index 00000000..09e7678f --- /dev/null +++ b/src/apps/com.magicalstory.AppStore.ts @@ -0,0 +1,39 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.magicalstory.AppStore', + name: '奇妙应用', + groups: [ + { + key: 0, + name: '开屏广告', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + matches: '[text="跳过"]', + snapshotUrls: [ + 'https://i.gkd.li/import/13185745', + 'https://i.gkd.li/import/13191546', + ], + }, + ], + }, + { + key: 1, + name: '下方横幅', + activityIds: 'com.magicalstory.AppStore.search.searchActivity', + rules: [ + { + matches: [ + '[id="com.magicalstory.AppStore:id/banner"]', + 'FrameLayout[childCount=5] > FrameLayout[childCount=1] > ImageView', + ], + snapshotUrls: 'https://gkd-kit.gitee.io/import/13185746', + }, + ], + }, + ], +});