diff --git a/src/apps/com.mfcloudcalculate.networkdisk.ts b/src/apps/com.mfcloudcalculate.networkdisk.ts index e2285686..5b558ffd 100644 --- a/src/apps/com.mfcloudcalculate.networkdisk.ts +++ b/src/apps/com.mfcloudcalculate.networkdisk.ts @@ -4,6 +4,35 @@ export default defineGkdApp({ id: 'com.mfcloudcalculate.networkdisk', name: '123云盘', groups: [ + { + key: 2, + name: '开屏广告', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + actionMaximumKey: 0, + priorityTime: 10000, + rules: [ + { + key: 0, + matches: + 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][visibleToUser=true] + TextView[visibleToUser=true][text=null]', + snapshotUrls: [ + 'https://i.gkd.li/i/14018247', + 'https://i.gkd.li/i/13259303', + 'https://i.gkd.li/i/13695497', + ], + }, + { + key: 1, + matches: '[text^="跳过"][text.length<=4]', + snapshotUrls: [ + 'https://i.gkd.li/i/12846434', + 'https://i.gkd.li/i/13059834', + ], + }, + ], + }, { key: 1, name: '全屏广告-弹窗广告', @@ -57,31 +86,17 @@ export default defineGkdApp({ ], }, { - key: 2, - name: '开屏广告', + key: 3, + name: '更新提示', matchTime: 10000, actionMaximum: 1, resetMatch: 'app', - actionMaximumKey: 0, - priorityTime: 10000, rules: [ { - key: 0, - matches: - 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][visibleToUser=true] + TextView[visibleToUser=true][text=null]', - snapshotUrls: [ - 'https://i.gkd.li/i/14018247', - 'https://i.gkd.li/i/13259303', - 'https://i.gkd.li/i/13695497', - ], - }, - { - key: 1, - matches: '[text^="跳过"][text.length<=4]', - snapshotUrls: [ - 'https://i.gkd.li/i/12846434', - 'https://i.gkd.li/i/13059834', - ], + activityIds: '.MainActivity', + matches: '@View[clickable=true] - [desc="立即更新"]', + exampleUrls: 'https://e.gkd.li/02cf5d37-8808-4abb-abf9-81f7ba8a8375', + snapshotUrls: 'https://i.gkd.li/i/17456852', }, ], },