From 03ac316db87802b5b57219f78d3f7f64d3fdbb7c Mon Sep 17 00:00:00 2001 From: walklty <47232102+walklty@users.noreply.github.com> Date: Fri, 13 Oct 2023 00:59:03 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=BF=85=E9=9B=B7):=20=E7=9B=B4=E6=92=AD?= =?UTF-8?q?=E6=8E=A8=E8=8D=90-=E8=A7=84=E5=88=99=E4=BC=98=E5=8C=96,?= =?UTF-8?q?=E5=B9=BF=E5=91=8A=E5=BC=B9=E7=AA=97=20(#955)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update com.xunlei.downloadprovider.ts * chore(actions): check_format_lint --------- Co-authored-by: github-actions[bot] close #903 --- src/apps/com.xunlei.downloadprovider.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/apps/com.xunlei.downloadprovider.ts b/src/apps/com.xunlei.downloadprovider.ts index bb075438..077f5a3c 100644 --- a/src/apps/com.xunlei.downloadprovider.ts +++ b/src/apps/com.xunlei.downloadprovider.ts @@ -66,8 +66,12 @@ export default defineAppConfig({ { key: 0, activityIds: 'com.xunlei.downloadprovider.frame.MainTabActivity', + matchLauncher: true, matches: '@[text="关闭"] +n LinearLayout > [text*="广告"]', - snapshotUrls: 'https://gkd-kit.songe.li/import/12868648', + snapshotUrls: [ + 'https://gkd-kit.songe.li/import/12868648', + 'https://gkd-kit.gitee.io/import/12879372', //activityIds is Launcher, add matchLauncher: true, + ], }, { key: 1, @@ -77,6 +81,13 @@ export default defineAppConfig({ '@Image[text=""] < View +n View > View > TextView[text="广告"]', snapshotUrls: 'https://gkd-kit.songe.li/import/12868667', }, + { + key: 2, + activityIds: 'com.xunlei.downloadprovider.frame.MainTabActivity', + matches: + 'TextView[text="广告"] @ViewGroup', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12879452', + }, ], }, {