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', + }, ], }, {