mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 01:04:53 +08:00
feat(Android 系统文件选择器): 授权第三方应用访问文件夹 (#625)
This commit is contained in:
28
src/apps/com.google.android.documentsui.ts
Normal file
28
src/apps/com.google.android.documentsui.ts
Normal file
@@ -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',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user