From 59d10f7828714b25331fa9a48ee0782b211f058a Mon Sep 17 00:00:00 2001 From: AIsouler Date: Tue, 14 May 2024 10:21:04 +0800 Subject: [PATCH] =?UTF-8?q?perf(QQ):=20=E6=9B=B4=E6=96=B0=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/appDeprecatedKeys.ts | 2 +- src/apps/com.tencent.mobileqq.ts | 24 ++++++------------------ 2 files changed, 7 insertions(+), 19 deletions(-) diff --git a/src/appDeprecatedKeys.ts b/src/appDeprecatedKeys.ts index 8bdc32d7..26ddca3d 100644 --- a/src/appDeprecatedKeys.ts +++ b/src/appDeprecatedKeys.ts @@ -481,7 +481,7 @@ const appDeprecatedKeys: RawDeprecatedKeysSetting[] = [ { id: 'com.tencent.mobileqq', name: 'QQ', - deprecatedKeys: [6, 14], + deprecatedKeys: [6, 14, 19], }, { id: 'com.tencent.qqlive', diff --git a/src/apps/com.tencent.mobileqq.ts b/src/apps/com.tencent.mobileqq.ts index 9dcf826b..8fd2e127 100644 --- a/src/apps/com.tencent.mobileqq.ts +++ b/src/apps/com.tencent.mobileqq.ts @@ -409,12 +409,15 @@ export default defineGkdApp({ rules: [ { key: 0, - matches: '@[desc="关闭"] - * > [text="发现新版本"]', - snapshotUrls: 'https://i.gkd.li/i/13386719', + matches: '@[desc="关闭"] <2 * >2 Button[text^="立即"][text.length=4]', + snapshotUrls: [ + 'https://i.gkd.li/i/13386719', + 'https://i.gkd.li/i/13526551', + ], }, { key: 1, - matches: '@[text="稍后处理"] +2 [text="立即升级"]', + matches: ['[text="立即升级"]', '[text="稍后处理"]'], snapshotUrls: 'https://i.gkd.li/i/14724108', }, ], @@ -440,21 +443,6 @@ export default defineGkdApp({ }, ], }, - { - key: 19, - name: '更新提示-内测邀请弹窗', - quickFind: true, - matchTime: 10000, - actionMaximum: 1, - resetMatch: 'app', - rules: [ - { - key: 0, - matches: '@[desc="关闭"] - * > [text="QQ测试版"]', - snapshotUrls: 'https://i.gkd.li/i/13526551', - }, - ], - }, { key: 20, name: '分段广告-钱包页卡片广告',