From 2814f98c09117909d35a082b86ea4bd9a700546d Mon Sep 17 00:00:00 2001 From: AIsouler Date: Fri, 6 Dec 2024 15:34:28 +0800 Subject: [PATCH] =?UTF-8?q?perf(=E8=83=96=E4=B9=96=E7=94=9F=E6=B4=BB):=20?= =?UTF-8?q?=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A=20(=E6=94=B9=E7=94=A8?= =?UTF-8?q?=E5=85=A8=E5=B1=80=E8=A7=84=E5=88=99)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/appDeprecatedKeys.ts | 5 +++++ src/apps/com.qiekj.user.ts | 38 ++++++++------------------------------ 2 files changed, 13 insertions(+), 30 deletions(-) diff --git a/src/appDeprecatedKeys.ts b/src/appDeprecatedKeys.ts index 4e7ff6e3..2397be69 100644 --- a/src/appDeprecatedKeys.ts +++ b/src/appDeprecatedKeys.ts @@ -827,6 +827,11 @@ const appDeprecatedKeys: RawDeprecatedKeysSetting[] = [ name: '正气', deprecatedKeys: [1], }, + { + id: 'com.qiekj.user', + name: '胖乖生活', + deprecatedKeys: [0], + }, ]; const map: Map = new Map(); diff --git a/src/apps/com.qiekj.user.ts b/src/apps/com.qiekj.user.ts index 4953a2bb..fbc78676 100644 --- a/src/apps/com.qiekj.user.ts +++ b/src/apps/com.qiekj.user.ts @@ -4,36 +4,6 @@ export default defineGkdApp({ id: 'com.qiekj.user', name: '胖乖生活', groups: [ - { - key: 0, - name: '开屏广告', - fastQuery: true, - matchTime: 10000, - actionMaximum: 1, - resetMatch: 'app', - actionMaximumKey: 0, - priorityTime: 10000, - rules: [ - { - key: 0, - matches: - '[id="com.qiekj.user:id/native_splash_view"] >n [text^="跳过"]', - snapshotUrls: 'https://i.gkd.li/i/12903088', - }, - { - key: 1, - matches: - '[id="com.kwad.dy.sdk:id/ksad_splash_root_container"] >n [text="跳过"]', - snapshotUrls: 'https://i.gkd.li/i/12903086', - }, - { - key: 2, - matches: - '[id="com.kwad.dy.sdk:id/ksad_splash_root_container"] >n ViewGroup > TextView + TextView + ImageView[clickable=true]', - snapshotUrls: 'https://i.gkd.li/i/12903095', - }, - ], - }, { key: 1, name: '更新提示', @@ -89,6 +59,14 @@ export default defineGkdApp({ exampleUrls: 'https://e.gkd.li/3f3d3462-7121-4f37-8252-1ef82e74f626', snapshotUrls: 'https://i.gkd.li/i/18033023', }, + { + key: 3, + fastQuery: true, + activityIds: '.MainActivity', + matches: '@ImageView[clickable=true] - [text="|"] - [text$="s"]', + exampleUrls: 'https://e.gkd.li/343016ff-dd8f-4a19-8e3c-63520b087e98', + snapshotUrls: 'https://i.gkd.li/i/12903095', + }, ], }, ],