diff --git a/src/apps/com.yuque.mobile.android.app.ts b/src/apps/com.yuque.mobile.android.app.ts new file mode 100644 index 00000000..b71448bc --- /dev/null +++ b/src/apps/com.yuque.mobile.android.app.ts @@ -0,0 +1,35 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.yuque.mobile.android.app', + name: '语雀', + groups: [ + { + key: 0, + name: '横幅提示', + desc: '点x取消提示', + activityIds: + 'com.yuque.mobile.android.app.rn.activity.ReactNativeMainActivity', + rules: [ + { + matches: 'TextView[text="了解更多"] - ViewGroup[clickable=true]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12911014', + }, + ], + }, + { + enable: false, + key: 1, + name: '自动原图', + desc: '如果没有勾选原图, 则勾选', + activityIds: + 'com.yuque.mobile.android.app.rn.activity.ReactNativeMainActivity', + rules: [ + { + matches: 'ViewGroup[desc="原图未勾选"][clickable=true][childCount=2]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12911013', + }, + ], + }, + ], +});