From 64f19d6c86659ff9c3d58b77ce169b44518dfcc8 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Thu, 5 Oct 2023 15:12:24 +0800 Subject: [PATCH] =?UTF-8?q?feat(Android=20=E7=B3=BB=E7=BB=9F=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E9=80=89=E6=8B=A9=E5=99=A8):=20=E6=8E=88=E6=9D=83?= =?UTF-8?q?=E7=AC=AC=E4=B8=89=E6=96=B9=E5=BA=94=E7=94=A8=E8=AE=BF=E9=97=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=A4=B9=20(#625)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.google.android.documentsui.ts | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/apps/com.google.android.documentsui.ts diff --git a/src/apps/com.google.android.documentsui.ts b/src/apps/com.google.android.documentsui.ts new file mode 100644 index 00000000..60b237df --- /dev/null +++ b/src/apps/com.google.android.documentsui.ts @@ -0,0 +1,28 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.google.android.documentsui', + name: 'Android 系统文件选择器', + groups: [ + { + enable: false, + key: 10, + name: '授权第三方应用访问文件夹', + desc: '自动点击【使用此文件夹】->【允许】', + activityIds: 'com.android.documentsui.picker.PickActivity', + rules: [ + { + key: 0, + matches: '[text="使用此文件夹"]', + snapshotUrls: 'https://gkd-kit.songe.li/import/12799610', + }, + { + preKeys: 0, + key: 1, + matches: '[text="取消"] + [text="允许"]', + snapshotUrls: 'https://gkd-kit.songe.li/import/12799603', + }, + ], + }, + ], +});