diff --git a/src/apps/com.example.pptv.ts b/src/apps/com.example.pptv.ts index b07ae6da..ff956126 100644 --- a/src/apps/com.example.pptv.ts +++ b/src/apps/com.example.pptv.ts @@ -11,8 +11,27 @@ export default defineAppConfig({ matchTime: 10000, actionMaximum: 1, resetMatch: 'app', - rules: '[text*="跳过"][text.length<=10]', - snapshotUrls: 'https://i.gkd.li/import/13669401', + rules: [ + { + key: 0, + matches: '[text*="跳过"][text.length<=10]', + snapshotUrls: 'https://i.gkd.li/import/13669401', + }, + { + key: 1, + matches: '[id="com.example.pptv:id/view_count_shake"]', + snapshotUrls: 'https://i.gkd.li/import/13761160', + }, + ], + }, + { + key: 1, + name: '青少年模式', + actionMaximum: 1, + resetMatch: 'app', + quickFind: true, + rules: '@[text="我知道了"] - * > [text="未成年模式"]', + snapshotUrls: 'https://i.gkd.li/import/13761159', }, ], });