fix(微博): 功能类-超话自动签到误触

This commit is contained in:
AIsouler
2024-04-27 17:08:23 +08:00
parent b9023b9c31
commit 61a1b96118

View File

@@ -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', // 未关注超话防止误触