From d863de8af634ce3beb59e8879f1a73e1f0bba722 Mon Sep 17 00:00:00 2001 From: ZYX <74281356+zhyx490991014@users.noreply.github.com> Date: Wed, 17 Sep 2025 20:53:58 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E4=B8=80=E5=8A=A0=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E5=99=A8):=20=E4=B8=AD=E9=AB=98=E9=A3=8E?= =?UTF-8?q?=E9=99=A9=E5=BA=94=E7=94=A8=E5=AE=89=E8=A3=85=20(#1162)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ZYX <74281356+zhyx490991014@users.noreply.github.com> Co-authored-by: github-actions[bot] Co-authored-by: AIsouler --- src/apps/com.oplus.appdetail.ts | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/src/apps/com.oplus.appdetail.ts b/src/apps/com.oplus.appdetail.ts index da614922..d6f0c8a8 100644 --- a/src/apps/com.oplus.appdetail.ts +++ b/src/apps/com.oplus.appdetail.ts @@ -35,5 +35,36 @@ export default defineGkdApp({ }, ], }, + { + key: 2, + name: '功能类-安装中高风险应用', + fastQuery: true, + activityIds: '.model.guide.ui.InstallGuideActivity', + rules: [ + { + key: 0, + position: { + left: 'width * 0.726', + top: 'height * 0.5', + }, + matches: '[text="不建议安装此应用;若仍需安装,可查看详情"]', + exampleUrls: 'https://e.gkd.li/8697d1e8-fa9c-4b5b-92b9-559f55672047', + snapshotUrls: 'https://i.gkd.li/i/22377287', + }, + { + preKeys: [0], + key: 1, + matches: '[text="已知悉应用风险"][checked=false]', + exampleUrls: 'https://e.gkd.li/45246cef-1ef5-49bf-8b7f-09377bde823a', + snapshotUrls: 'https://i.gkd.li/i/22377327', + }, + { + preKeys: [1], + matches: '[text="仍然安装"]', + exampleUrls: 'https://e.gkd.li/45246cef-1ef5-49bf-8b7f-09377bde823a', + snapshotUrls: 'https://i.gkd.li/i/22377327', + }, + ], + }, ], });