perf(QQ): 更新提示

This commit is contained in:
AIsouler
2024-05-14 10:21:04 +08:00
parent 9062003be4
commit 59d10f7828
2 changed files with 7 additions and 19 deletions

View File

@@ -481,7 +481,7 @@ const appDeprecatedKeys: RawDeprecatedKeysSetting[] = [
{ {
id: 'com.tencent.mobileqq', id: 'com.tencent.mobileqq',
name: 'QQ', name: 'QQ',
deprecatedKeys: [6, 14], deprecatedKeys: [6, 14, 19],
}, },
{ {
id: 'com.tencent.qqlive', id: 'com.tencent.qqlive',

View File

@@ -409,12 +409,15 @@ export default defineGkdApp({
rules: [ rules: [
{ {
key: 0, key: 0,
matches: '@[desc="关闭"] - * > [text="发现新版本"]', matches: '@[desc="关闭"] <2 * >2 Button[text^="立即"][text.length=4]',
snapshotUrls: 'https://i.gkd.li/i/13386719', snapshotUrls: [
'https://i.gkd.li/i/13386719',
'https://i.gkd.li/i/13526551',
],
}, },
{ {
key: 1, key: 1,
matches: '@[text="稍后处理"] +2 [text="立即升级"]', matches: ['[text="立即升级"]', '[text="稍后处理"]'],
snapshotUrls: 'https://i.gkd.li/i/14724108', 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, key: 20,
name: '分段广告-钱包页卡片广告', name: '分段广告-钱包页卡片广告',