feat(迅雷): 直播推荐-规则优化,广告弹窗 (#955)

* Update com.xunlei.downloadprovider.ts

* chore(actions): check_format_lint

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

close #903
This commit is contained in:
walklty
2023-10-13 00:59:03 +08:00
committed by GitHub
parent 866cebbe05
commit 03ac316db8

View File

@@ -66,8 +66,12 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
activityIds: 'com.xunlei.downloadprovider.frame.MainTabActivity', activityIds: 'com.xunlei.downloadprovider.frame.MainTabActivity',
matchLauncher: true,
matches: '@[text="关闭"] +n LinearLayout > [text*="广告"]', 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, key: 1,
@@ -77,6 +81,13 @@ export default defineAppConfig({
'@Image[text=""] < View +n View > View > TextView[text="广告"]', '@Image[text=""] < View +n View > View > TextView[text="广告"]',
snapshotUrls: 'https://gkd-kit.songe.li/import/12868667', snapshotUrls: 'https://gkd-kit.songe.li/import/12868667',
}, },
{
key: 2,
activityIds: 'com.xunlei.downloadprovider.frame.MainTabActivity',
matches:
'TextView[text="广告"] <n ViewGroup -2 ViewGroup > @ViewGroup',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12879452',
},
], ],
}, },
{ {