From b766c7a0ff8b9a1373ab894dc2198cd273fd6d03 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Mon, 25 Nov 2024 18:00:57 +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?=E5=AE=89=E8=A3=85=E6=9D=A5=E6=BA=90=E4=B8=8D=E5=8F=AF=E4=BF=A1?= =?UTF-8?q?=20(#526)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.miui.packageinstaller.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/apps/com.miui.packageinstaller.ts b/src/apps/com.miui.packageinstaller.ts index 881c23c1..d35b97b0 100644 --- a/src/apps/com.miui.packageinstaller.ts +++ b/src/apps/com.miui.packageinstaller.ts @@ -89,5 +89,24 @@ export default defineGkdApp({ }, ], }, + { + key: 15, + name: '功能类-安装来源不可信', + desc: '点击[授权本次安装]', + rules: [ + { + fastQuery: true, + position: { + left: 'width * 0.3511', + top: 'height * 0.5', + }, + activityIds: + 'com.miui.packageInstaller.ui.InstallPrepareAlertActivity', + matches: '[text$="授权本次安装"]', + exampleUrls: 'https://e.gkd.li/e470baf2-56dc-4e3c-8da0-9747eeec602f', + snapshotUrls: 'https://i.gkd.li/i/17898736', + }, + ], + }, ], });