From 3de399ed934ee5a80bfe17bddc7ffb0db871de9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A9=E6=96=B9=E5=A4=9C=E8=B0=AD?= <152615144+tianfangyetan1@users.noreply.github.com> Date: Tue, 28 Oct 2025 19:44:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=B3=BB=E7=BB=9F=E6=9B=B4=E6=96=B0-?= =?UTF-8?q?=E6=B5=81=E9=87=8F=E6=9B=B4=E6=96=B0=E7=82=B9=E5=87=BB=E7=BB=A7?= =?UTF-8?q?=E7=BB=AD=E4=B8=8B=E8=BD=BD=20=E7=AD=892=E4=B8=AA=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=20(#1338)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.android.updater.ts | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/src/apps/com.android.updater.ts b/src/apps/com.android.updater.ts index 3fdaa58f..78a1770c 100644 --- a/src/apps/com.android.updater.ts +++ b/src/apps/com.android.updater.ts @@ -6,7 +6,7 @@ export default defineGkdApp({ groups: [ { key: 0, - name: '更新提示-智能更新弹窗', + name: '功能类-不开启自动更新', fastQuery: true, matchTime: 10000, actionMaximum: 1, @@ -26,5 +26,32 @@ export default defineGkdApp({ }, ], }, + { + key: 1, + name: '功能类-流量更新点击继续下载', + rules: [ + { + fastQuery: true, + activityIds: 'com.android.updater.UpdateActivity', + matches: [ + '[text^="您当前正在使用数据网络,继续下载可能会产生流量费用"]', + '[text="继续下载"]', + ], + snapshotUrls: 'https://i.gkd.li/i/23182185', + }, + ], + }, + { + key: 2, + name: '功能类-不开启流量自动更新', + rules: [ + { + fastQuery: true, + activityIds: 'com.android.updater.UpdateActivity', + matches: ['[text="开启数据网络自动下载"]', '[text="不开启"]'], + snapshotUrls: 'https://i.gkd.li/i/23182175', + }, + ], + }, ], });