Files
AIsouler-GKD_subscription/src/apps/com.tencent.weread.ts
Kun Jinkao 9753486057 feat(微信读书): 少年模式弹窗、系统推送弹窗(补充 activityId) (#1742)
* feat 少年模式弹窗

* feat 系统推送弹窗(补充 activityId)

* feat(微信读书): 规则优化

---------

Co-authored-by: lisonge <i@songe.li>
2023-11-02 22:02:05 +08:00

42 lines
1.1 KiB
TypeScript

import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.tencent.weread',
name: '微信读书',
groups: [
{
key: 1,
name: '系统推送弹窗',
desc: '系统推送弹窗-点击取消',
quickFind: true,
actionMaximum: 1,
matchTime: 30000,
resetMatch: 'app',
activityIds: [
'com.tencent.weread.module.bottomSheet.BottomSheetForFragment',
'com.tencent.weread.WeReadFragmentActivity',
],
rules: [
{
matches: '[id="com.tencent.weread:id/open_notification_close"]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12642247',
'https://i.gkd.li/import/13233735',
],
},
],
},
{
key: 2,
name: '青少年模式弹窗',
quickFind: true,
actionMaximum: 1,
matchTime: 30000,
resetMatch: 'app',
activityIds: 'com.tencent.weread.WeReadFragmentActivity',
rules: '[text="设置青少年模式"] - LinearLayout >2 [text="我知道了"]',
snapshotUrls: 'https://i.gkd.li/import/13233668',
},
],
});