mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-24 10:45:09 +08:00
67 lines
1.8 KiB
TypeScript
67 lines
1.8 KiB
TypeScript
import { defineGkdApp } from '@gkd-kit/define';
|
|
|
|
export default defineGkdApp({
|
|
id: 'com.android.systemui',
|
|
name: '系统界面',
|
|
groups: [
|
|
{
|
|
key: 1,
|
|
name: '功能类-自动允许网易云音乐共享整个屏幕',
|
|
fastQuery: true,
|
|
activityIds:
|
|
'.mediaprojection.permission.MediaProjectionPermissionActivity',
|
|
rules: [
|
|
{
|
|
key: 1,
|
|
matches: [
|
|
'[text="要与“网易云音乐”共享屏幕吗?"]',
|
|
'[vid="screen_share_mode_spinner"][clickable=true]',
|
|
],
|
|
snapshotUrls: 'https://i.gkd.li/i/23451390',
|
|
},
|
|
{
|
|
preKeys: [1],
|
|
key: 2,
|
|
matches: '@[clickable=true] > [text="共享整个屏幕"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/23451403',
|
|
},
|
|
{
|
|
preKeys: [2],
|
|
key: 3,
|
|
matches: 'Button[text="共享屏幕"][clickable=true]',
|
|
snapshotUrls: 'https://i.gkd.li/i/23451416',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 2,
|
|
name: '功能类-自动允许白描共享整个屏幕',
|
|
fastQuery: true,
|
|
activityIds:
|
|
'.mediaprojection.permission.MediaProjectionPermissionActivity',
|
|
rules: [
|
|
{
|
|
key: 1,
|
|
matches: [
|
|
'[text="要与“白描”共享屏幕吗?"]',
|
|
'[vid="screen_share_mode_spinner"][clickable=true]',
|
|
],
|
|
snapshotUrls: 'https://i.gkd.li/i/23451390',
|
|
},
|
|
{
|
|
preKeys: [1],
|
|
key: 2,
|
|
matches: '@[clickable=true] > [text="共享整个屏幕"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/23451403',
|
|
},
|
|
{
|
|
preKeys: [2],
|
|
key: 3,
|
|
matches: 'Button[text="共享屏幕"][clickable=true]',
|
|
snapshotUrls: 'https://i.gkd.li/i/23451416',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|