diff --git a/src/apps/com.maxhom.weibu.ts b/src/apps/com.maxhom.weibu.ts new file mode 100644 index 00000000..ee7dcd4d --- /dev/null +++ b/src/apps/com.maxhom.weibu.ts @@ -0,0 +1,61 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.maxhom.weibu', + name: '暮瑟', + groups: [ + { + key: 3, + name: '交友-底部广告', + activityIds: [ + 'com.maxhom.weibu.tool.home.activity.NewMainActivity', + 'com.maxhom.weibu.WelcomeActivity', + ], + rules: [ + { + key: 0, + name: '点击右侧X', + matches: ['ImageView - FrameLayout > ImageView'], + snapshotUrls: [ + 'https://i.gkd.li/import/13377607', + 'https://i.gkd.li/import/13377810', + ], + }, + { + preKeys: 0, + key: 1, + name: '点击弹出窗口的X', + matches: + '[text.length>=2&&text.length<=6] ImageView', + snapshotUrls: ['https://i.gkd.li/import/13377611'], + }, + ], + }, + { + key: 4, + name: '漂流瓶-提示弹窗', + quickFind: true, + activityIds: 'com.maxhom.weibu.tool.home.activity.ToolBottleActivity', + rules: [ + { + matches: '[id="com.maxhom.weibu:id/ivClose"]', + snapshotUrls: 'https://i.gkd.li/import/13377649', + }, + ], + }, + { + key: 5, + name: '漂流瓶-定位弹窗', + desc: '自动点击取消', + enable: false, + quickFind: true, + activityIds: 'com.maxhom.weibu.tool.home.activity.ToolBottleActivity', + rules: [ + { + matches: '[text="去设置"] +n [text="取消"]', + snapshotUrls: 'https://i.gkd.li/import/13377685', + }, + ], + }, + ], +});