diff --git a/src/apps/com.yunxiang.wuyu.ts b/src/apps/com.yunxiang.wuyu.ts new file mode 100644 index 00000000..64ae4b26 --- /dev/null +++ b/src/apps/com.yunxiang.wuyu.ts @@ -0,0 +1,57 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.yunxiang.wuyu', + name: '特狗APP', + groups: [ + { + key: 0, + name: '开屏广告', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + matches: '[text*="跳过"][text.length<=10]', + snapshotUrls: 'https://i.gkd.li/import/13455619', + }, + ], + }, + { + key: 2, + name: '公告弹窗', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + activityIds: 'com.yunxiang.wuyu.MainActivity', + rules: '[desc^="人生嘛"] +4 ImageView[clickable=true]', + snapshotUrls: 'https://i.gkd.li/import/13455634', + }, + { + key: 3, + name: '广告弹窗', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + activityIds: 'com.yunxiang.wuyu.MainActivity', + rules: [ + { + name: '【x】型', + matches: + 'ImageView < @ViewGroup[clickable=true] < ViewGroup +n ViewGroup [text="广告"]', + snapshotUrls: 'https://i.gkd.li/import/13455628', + }, + { + name: '【跳过】型', + matches: [ + 'TextView[text="广告"]', + '@ViewGroup > TextView[text="跳过"]', + ], + snapshotUrls: 'https://i.gkd.li/import/13455629', + }, + ], + }, + ], +});