From 49230db9b0d9e9b361e58ac056ebfc8cc3dee3ed Mon Sep 17 00:00:00 2001 From: jiuqianyuan <39406781+jiuqianyuan@users.noreply.github.com> Date: Sat, 18 Nov 2023 23:36:22 +0800 Subject: [PATCH] =?UTF-8?q?feat(QQ):=20=E5=A5=BD=E5=8F=8B=E5=8A=A8?= =?UTF-8?q?=E6=80=81-=E4=B8=BA=E4=BD=A0=E6=8E=A8=E8=8D=90=20(#2194)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.tencent.mobileqq.ts | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/src/apps/com.tencent.mobileqq.ts b/src/apps/com.tencent.mobileqq.ts index 88ada337..77fe031b 100644 --- a/src/apps/com.tencent.mobileqq.ts +++ b/src/apps/com.tencent.mobileqq.ts @@ -257,21 +257,33 @@ export default defineAppConfig({ ], }, { + enable: false, key: 15, name: '好友动态-为你推荐', - activityIds: 'com.tencent.mobileqq.activity.SplashActivity', + quickFind: true, + matchLauncher: true, + activityIds: [ + 'com.tencent.mobileqq.activity.SplashActivity', + 'com.qzone.reborn.feedx.activity.QZoneFriendFeedXActivity', + ], rules: [ { key: 0, - matches: '[text="为你推荐"] + ImageView[id!=null][clickable=true]', - snapshotUrls: 'https://i.gkd.li/import/12929620', + matches: '@ImageView[clickable=true] - [text="为你推荐"]', + snapshotUrls: [ + 'https://i.gkd.li/import/12929620', + 'https://i.gkd.li/import/13387606', // activityIds: 'com.qzone.reborn.feedx.activity.QZoneFriendFeedXActivity', + ], }, { preKeys: 0, key: 1, matches: '@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, + ], }, ], },