From dd986aed7eb092a483f1f824e006c76ad9ff84d7 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Sat, 18 Nov 2023 23:46:18 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E4=B8=8B=E8=BD=BD=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=E7=AE=B1)=20:=E5=85=AC=E5=91=8A=E5=BC=B9=E7=AA=97=E3=80=81?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E8=AF=86=E5=88=AB=E8=A7=A3=E6=9E=90=E9=93=BE?= =?UTF-8?q?=E6=8E=A5=E3=80=81=E5=BC=80=E9=80=9A=E4=BC=9A=E5=91=98=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=20(#2205)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat 公告弹窗 * feat 自动识别解析链接 * feat 开通会员弹窗 --- src/apps/com.wan.tools.ts | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/apps/com.wan.tools.ts diff --git a/src/apps/com.wan.tools.ts b/src/apps/com.wan.tools.ts new file mode 100644 index 00000000..211e7c71 --- /dev/null +++ b/src/apps/com.wan.tools.ts @@ -0,0 +1,34 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.wan.tools', + name: '下载工具箱', + groups: [ + { + enable: false, + key: 1, + name: '公告弹窗', + actionMaximum: 1, + resetMatch: 'app', + quickFind: true, + rules: 'LinearLayout[childCount=2] > @[text="取消"] + [text="确认"]', + snapshotUrls: 'https://i.gkd.li/import/13392027', + }, + { + enable: false, + key: 2, + name: '自动识别解析链接', + activityIds: 'com.one.downloadtools.ui.activity.HomeActivity', + rules: '@[text="识别解析"] -2 * > [text^="检测到你复制链接"]', + snapshotUrls: 'https://i.gkd.li/import/13392085', + }, + { + enable: false, + key: 3, + name: '开通会员弹窗', + activityIds: 'com.one.downloadtools.ui.activity.HomeActivity', + rules: '[text^="开通会员"] < * +n * > [text="暂不"]', + snapshotUrls: 'https://i.gkd.li/import/13392112', + }, + ], +});