Skip to content
This repository was archived by the owner on Feb 13, 2026. It is now read-only.

Commit 1aed9a1

Browse files
authored
fix: 微信 青少年模式 (#1757)
1 parent a126ee0 commit 1aed9a1

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

src/apps/com.tencent.mm.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,9 +354,10 @@ export default defineGkdApp({
354354
fastQuery: true,
355355
matchTime: 20000,
356356
actionMaximum: 1,
357+
activityIds: ['.plugin.finder.', '.ui.LauncherUI'],
357358
rules: [
358359
{
359-
activityIds: ['.plugin.finder.', '.ui.LauncherUI'],
360+
key: 0,
360361
matches:
361362
'@[text="我知道了"][index=parent.childCount.minus(1)] <n LinearLayout > [text^="为呵护未成年人健康成长"][visibleToUser=true]',
362363
snapshotUrls: [
@@ -368,6 +369,12 @@ export default defineGkdApp({
368369
'https://i.gkd.li/i/19683937',
369370
],
370371
},
372+
{
373+
key: 1,
374+
matches:
375+
'@[text="不再提醒"][clickable=true] <2 [index=parent.childCount.minus(1)] -n [text^="为呵护未成年人健康成长"][visibleToUser=true]',
376+
snapshotUrls: 'https://i.gkd.li/i/24796791',
377+
},
371378
],
372379
},
373380
{

0 commit comments

Comments
 (0)