Skip to content

Commit

Permalink
feat(电子邮件): 权限提示-自启动 (#393)
Browse files Browse the repository at this point in the history
Co-authored-by: AIsouler <[email protected]>
  • Loading branch information
DeepChirp and AIsouler authored Oct 8, 2024
1 parent d7baeac commit 9dd68a2
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions src/apps/com.android.email.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import { defineGkdApp } from '@gkd-kit/define';

export default defineGkdApp({
id: 'com.android.email',
name: '电子邮件',
groups: [
{
// 小米自带电子邮件
key: 1,
name: '权限提示-自启动',
desc: '点击取消',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
fastQuery: true,
activityIds: 'com.wps.multiwindow.main.HomeActivity',
matches: [
'[text^="检测到您的自启动权限未开启"]',
'[text="取消"][clickable=true]',
],
exampleUrls: 'https://e.gkd.li/1eacdaf8-1405-44d8-a9b9-228e913c5180',
snapshotUrls: 'https://i.gkd.li/i/17276404',
},
],
},
],
});

0 comments on commit 9dd68a2

Please sign in to comment.