From a75e94e3b9f1917430dc4670ecaab94e0cdca330 Mon Sep 17 00:00:00 2001 From: aoguai <34203474+aoguai@users.noreply.github.com> Date: Thu, 16 Nov 2023 21:48:19 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=9A=AE=E7=91=9F):=20=E4=BA=A4=E5=8F=8B-?= =?UTF-8?q?=E5=BA=95=E9=83=A8=E5=B9=BF=E5=91=8A=E3=80=81=E6=BC=82=E6=B5=81?= =?UTF-8?q?=E7=93=B6-=E6=8F=90=E7=A4=BA=E5=BC=B9=E7=AA=97=E3=80=81?= =?UTF-8?q?=E6=BC=82=E6=B5=81=E7=93=B6-=E5=AE=9A=E4=BD=8D=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=20(#2163)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.maxhom.weibu.ts | 61 ++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 src/apps/com.maxhom.weibu.ts diff --git a/src/apps/com.maxhom.weibu.ts b/src/apps/com.maxhom.weibu.ts new file mode 100644 index 00000000..ee7dcd4d --- /dev/null +++ b/src/apps/com.maxhom.weibu.ts @@ -0,0 +1,61 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.maxhom.weibu', + name: '暮瑟', + groups: [ + { + key: 3, + name: '交友-底部广告', + activityIds: [ + 'com.maxhom.weibu.tool.home.activity.NewMainActivity', + 'com.maxhom.weibu.WelcomeActivity', + ], + rules: [ + { + key: 0, + name: '点击右侧X', + matches: ['ImageView - FrameLayout > ImageView'], + snapshotUrls: [ + 'https://i.gkd.li/import/13377607', + 'https://i.gkd.li/import/13377810', + ], + }, + { + preKeys: 0, + key: 1, + name: '点击弹出窗口的X', + matches: + '[text.length>=2&&text.length<=6] ImageView', + snapshotUrls: ['https://i.gkd.li/import/13377611'], + }, + ], + }, + { + key: 4, + name: '漂流瓶-提示弹窗', + quickFind: true, + activityIds: 'com.maxhom.weibu.tool.home.activity.ToolBottleActivity', + rules: [ + { + matches: '[id="com.maxhom.weibu:id/ivClose"]', + snapshotUrls: 'https://i.gkd.li/import/13377649', + }, + ], + }, + { + key: 5, + name: '漂流瓶-定位弹窗', + desc: '自动点击取消', + enable: false, + quickFind: true, + activityIds: 'com.maxhom.weibu.tool.home.activity.ToolBottleActivity', + rules: [ + { + matches: '[text="去设置"] +n [text="取消"]', + snapshotUrls: 'https://i.gkd.li/import/13377685', + }, + ], + }, + ], +});