diff --git a/src/apps/com.android.mediacenter.ts b/src/apps/com.android.mediacenter.ts index 9a8cc635..11390554 100644 --- a/src/apps/com.android.mediacenter.ts +++ b/src/apps/com.android.mediacenter.ts @@ -7,23 +7,23 @@ export default defineAppConfig({ { key: 0, name: '开屏广告', - activityIds: 'com.android.mediacenter.PageActivity', - matchLauncher: true, quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', rules: [ { key: 0, - matches: '[id="com.huawei.hms.ads.uiengine:id/hiad_skip_text"]', - snapshotUrls: 'https://i.gkd.li/import/12901417', - exampleUrls: + action: 'clickCenter', + matches: '[text^="跳过"][text.length<=10]', + snapshotUrls: [ + 'https://i.gkd.li/import/12901417', + 'https://i.gkd.li/import/12908742', + ], + exampleUrls: [ 'https://github.com/gkd-kit/inspect/assets/38517192/6c34cd13-cfda-4462-99ed-2a2534a6fdf5', - }, - { - key: 1, - matches: '[id="com.android.mediacenter:id/jump"]', - snapshotUrls: 'https://i.gkd.li/import/12908742', - exampleUrls: 'https://github.com/gkd-kit/inspect/assets/38517192/c71bb14d-cd1f-4f9e-8ee9-6a1e11e56901', + ], }, ], },