From 61a1b961185cd35f06f9c6aa345612e3fd253e16 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Sat, 27 Apr 2024 17:08:23 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=BE=AE=E5=8D=9A):=20=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E7=B1=BB-=E8=B6=85=E8=AF=9D=E8=87=AA=E5=8A=A8=E7=AD=BE?= =?UTF-8?q?=E5=88=B0=E8=AF=AF=E8=A7=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.sina.weibo.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/apps/com.sina.weibo.ts b/src/apps/com.sina.weibo.ts index 989d8b3d..1f83362f 100644 --- a/src/apps/com.sina.weibo.ts +++ b/src/apps/com.sina.weibo.ts @@ -335,8 +335,11 @@ export default defineGkdApp({ key: 0, name: '点击签到', activityIds: 'com.sina.weibo.supergroup.SGPageActivity', - excludeMatches: ['[text="关注"]', '[text="Follow"]'], - matches: '[text="签到" || text="Sign in"] < [vid="right_button"]', + // excludeMatches: ['[text="关注"]', '[text="Follow"]'], 此写法会导致误触 + matches: [ + 'ViewGroup[childCount=2] > [text="管理"][visibleToUser=true]', + '[text="签到" || text="Sign in"] < [vid="right_button"][visibleToUser=true]', + ], snapshotUrls: [ 'https://i.gkd.li/i/15092999', 'https://i.gkd.li/i/15092970', // 未关注超话防止误触