Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
feat(黑阈): 权限不足弹窗 (#1667)
Browse files Browse the repository at this point in the history
* feat(黑阈): 权限不足取消

* feat(黑阈): 权限不足弹窗

---------

Co-authored-by: 二刺螈 <[email protected]>
  • Loading branch information
sherylynn and lisonge authored Oct 31, 2023
1 parent 817da76 commit 4845864
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/apps/me.piebridge.brevent.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import { defineAppConfig } from '../types';

export default defineAppConfig({
id: 'me.piebridge.brevent',
name: '黑阈',
groups: [
{
enable: false,
key: 1,
name: '权限不足弹窗',
desc: '点击取消',
activityIds: ['me.piebridge.brevent.ui.BreventActivity'],
actionMaximum: 1,
quickFind: true,
rules: [
{
matches: [
'[id="android:id/message"][text^=`黑阈服务权限不足`]',
'[text=`取消`][id^=`android:id/button`]',
],
snapshotUrls: 'https://gkd-kit.gitee.io/import/13218439',
},
],
},
],
});

0 comments on commit 4845864

Please sign in to comment.