feat(QQ): 好友动态-为你推荐 (#2194)

This commit is contained in:
jiuqianyuan 2023-11-18 23:36:22 +08:00 committed by GitHub
parent d5154bf45f
commit 49230db9b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -257,21 +257,33 @@ export default defineAppConfig({
], ],
}, },
{ {
enable: false,
key: 15, key: 15,
name: '好友动态-为你推荐', name: '好友动态-为你推荐',
activityIds: 'com.tencent.mobileqq.activity.SplashActivity', quickFind: true,
matchLauncher: true,
activityIds: [
'com.tencent.mobileqq.activity.SplashActivity',
'com.qzone.reborn.feedx.activity.QZoneFriendFeedXActivity',
],
rules: [ rules: [
{ {
key: 0, key: 0,
matches: '[text="为你推荐"] + ImageView[id!=null][clickable=true]', matches: '@ImageView[clickable=true] - [text="为你推荐"]',
snapshotUrls: 'https://i.gkd.li/import/12929620', snapshotUrls: [
'https://i.gkd.li/import/12929620',
'https://i.gkd.li/import/13387606', // activityIds: 'com.qzone.reborn.feedx.activity.QZoneFriendFeedXActivity',
],
}, },
{ {
preKeys: 0, preKeys: 0,
key: 1, key: 1,
matches: matches:
'@LinearLayout[id!=null][clickable=true] > LinearLayout > [text="减少此类推荐"]', '@LinearLayout[id!=null][clickable=true] > LinearLayout > [text="减少此类推荐"]',
snapshotUrls: 'https://i.gkd.li/import/12929619', snapshotUrls: [
'https://i.gkd.li/import/12929619',
'https://i.gkd.li/import/13387605', // matchLauncher: true,
],
}, },
], ],
}, },