From 89e697c9909e68a401a1498e1ead97fffa47d83c Mon Sep 17 00:00:00 2001 From: AIsouler Date: Wed, 4 Dec 2024 13:23:51 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=BA=94=E7=94=A8=E5=8C=85=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E7=BB=84=E4=BB=B6):=20=E5=8A=9F=E8=83=BD=E7=B1=BB-?= =?UTF-8?q?=E6=97=A0=E8=A7=86=E9=A3=8E=E9=99=A9=E7=BB=A7=E7=BB=AD=E5=AE=89?= =?UTF-8?q?=E8=A3=85=20(#558)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.miui.packageinstaller.ts | 36 +++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/src/apps/com.miui.packageinstaller.ts b/src/apps/com.miui.packageinstaller.ts index b8b97e73..8d80422b 100644 --- a/src/apps/com.miui.packageinstaller.ts +++ b/src/apps/com.miui.packageinstaller.ts @@ -123,5 +123,41 @@ export default defineGkdApp({ }, ], }, + { + key: 17, + name: '功能类-无视风险继续安装', + fastQuery: true, + activityIds: 'com.miui.packageInstaller.NewInstallerPrepareActivity', + rules: [ + { + key: 0, + matches: '@[clickable=true] >2 [text="无视风险继续安装"]', + exampleUrls: 'https://e.gkd.li/46f06948-5ec1-4054-8aa3-a8f39e5d1f26', + snapshotUrls: 'https://i.gkd.li/i/18002566', + }, + { + preKeys: [0], + key: 1, + matches: '[text="继续"]', + exampleUrls: 'https://e.gkd.li/375fc2ec-841a-4af6-be99-9391ebeb7dc5', + snapshotUrls: 'https://i.gkd.li/i/18002704', + }, + { + preKeys: [1], + key: 2, + matches: + '@[clickable=true][desc="更多"] > [vid="action_menu_item_child_icon"]', + exampleUrls: 'https://e.gkd.li/de8fb9c9-ea4e-4c03-93bd-047bf31cd4c8', + snapshotUrls: 'https://i.gkd.li/i/18002708', + }, + { + preKeys: [2], + key: 3, + matches: '@[clickable=true] > [text="单次安装授权"]', + exampleUrls: 'https://e.gkd.li/0e8afdd7-04d3-46fd-9095-b61123d041b2', + snapshotUrls: 'https://i.gkd.li/i/18002712', + }, + ], + }, ], });