diff --git a/src/apps/com.github.eprendre.tingshu.ts b/src/apps/com.github.eprendre.tingshu.ts new file mode 100644 index 00000000..e2760d39 --- /dev/null +++ b/src/apps/com.github.eprendre.tingshu.ts @@ -0,0 +1,25 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.github.eprendre.tingshu', + name: '我的听书', + groups: [ + { + key: 0, + name: '开屏广告', + activityIds: 'com.github.eprendre.tingshu.ui.SplashActivity', + rules: + '[id="com.github.eprendre.tingshu:id/frame_layout"] >n [text^="跳过"]', + snapshotUrls: 'https://gkd-kit.songe.li/import/12783430', + }, + { + key: 1, + name: '搜索结果底部广告', + activityIds: + 'com.github.eprendre.tingshu.ui.search.AggregateSearchActivity', + rules: + '[id="com.github.eprendre.tingshu:id/banner_container"] >n FrameLayout > ImageView +2 FrameLayout > ImageView', + snapshotUrls: 'https://gkd-kit.songe.li/import/12783466', + }, + ], +});