From 1073f883e33eb939ddaf44fcb58a36a0d4e7ad8c Mon Sep 17 00:00:00 2001 From: jiuqianyuan <39406781+jiuqianyuan@users.noreply.github.com> Date: Wed, 21 May 2025 12:08:19 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=9B=B4=E6=96=B0=E6=8F=90=E7=A4=BA-?= =?UTF-8?q?=E5=85=A8=E5=B1=80=20(#916)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/appDeprecatedKeys.ts | 2 +- src/apps/com.xyhui.ts | 18 ------------------ src/globalGroups.ts | 2 +- 3 files changed, 2 insertions(+), 20 deletions(-) diff --git a/src/appDeprecatedKeys.ts b/src/appDeprecatedKeys.ts index ac120889..dc176c62 100644 --- a/src/appDeprecatedKeys.ts +++ b/src/appDeprecatedKeys.ts @@ -495,7 +495,7 @@ const appDeprecatedKeys: RawDeprecatedKeysSetting[] = [ { id: 'com.xyhui', name: 'PU口袋校园', - deprecatedKeys: [4], + deprecatedKeys: [3, 4], }, { id: 'com.youdao.dict', diff --git a/src/apps/com.xyhui.ts b/src/apps/com.xyhui.ts index cfe57206..d24e6223 100644 --- a/src/apps/com.xyhui.ts +++ b/src/apps/com.xyhui.ts @@ -107,23 +107,5 @@ export default defineGkdApp({ }, ], }, - { - key: 3, - name: '更新提示', - fastQuery: true, - matchTime: 10000, - actionMaximum: 1, - resetMatch: 'app', - rules: [ - { - activityIds: ['.start.PUMainActivity', '.start.LoadingActivity'], - matches: 'ImageView[id="com.xyhui:id/closeIv"]', - snapshotUrls: [ - 'https://i.gkd.li/i/12908853', - 'https://i.gkd.li/i/12908865', - ], - }, - ], - }, ], }); diff --git a/src/globalGroups.ts b/src/globalGroups.ts index 1ab5c7b5..cc734f11 100644 --- a/src/globalGroups.ts +++ b/src/globalGroups.ts @@ -75,7 +75,7 @@ export default defineGkdGlobalGroups([ matches: [ '[text*="内测" || text*="测试版" || text*="新版" || text*="更新" || text*="升级" || text*="体验" || text*="內測" || text*="測試版" || text*="升級" || text*="體驗" || text*="Update" || text*="Upgrade" || text*="Experience"][text!*="自动" && text!*="自動" && text!*="成功" && text!*="失败" && text!*="失敗" && text!*="检查更新" && text!*="检测更新" && text!*="卸载"][childCount=0][visibleToUser=true]', '[text*="更新" || text*="下载" || text*="安装" || text*="升级" || text*="查看" || text*="体验" || text*="确定" || text*="确认"][text.length<6][childCount=0][visibleToUser=true]', - '([text*="不再提醒" || text$="再说" || text$="拒绝" || text$="再想想" || text*="再看看" || text^="忽略" || text^="暂不" || text^="放弃" || text^="取消" || text$="不要" || text$="再說" || text$="暫不" || text$="拒絕" || text*="稍后" || text^="关闭" || text$="Later" || text^="Ignore" || text^="Not now" || text^="Cancel"][!(text*="取消"&&text*="忽略")][text.length<6][childCount=0][visibleToUser=true]) || ([vid="iv_close" || vid="iv_cancel" || vid="close" || vid="Close" || vid="img_close" || vid="btn_close" || vid="ivCancel" || vid="tvCancel" || vid="cancel" || vid="Cancel" || vid="ivClose" || vid="imgClose" || vid="iv_negative" || vid="update_close_icon"][childCount=0][visibleToUser=true])', + '([text*="不再提醒" || text$="再说" || text$="拒绝" || text$="再想想" || text*="再看看" || text^="忽略" || text^="暂不" || text^="放弃" || text^="取消" || text$="不要" || text$="再說" || text$="暫不" || text$="拒絕" || text*="稍后" || text^="关闭" || text$="Later" || text^="Ignore" || text^="Not now" || text^="Cancel"][!(text*="取消"&&text*="忽略")][text.length<6][childCount=0][visibleToUser=true]) || ([vid="closeIv" || vid="iv_close" || vid="iv_cancel" || vid="close" || vid="Close" || vid="img_close" || vid="btn_close" || vid="ivCancel" || vid="tvCancel" || vid="cancel" || vid="Cancel" || vid="ivClose" || vid="imgClose" || vid="iv_negative" || vid="update_close_icon"][childCount=0][visibleToUser=true])', ], excludeSnapshotUrls: [ // 避免误触