diff --git a/src/apps/com.ss.android.lark.ts b/src/apps/com.ss.android.lark.ts new file mode 100644 index 00000000..1f9eecb5 --- /dev/null +++ b/src/apps/com.ss.android.lark.ts @@ -0,0 +1,30 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.ss.android.lark', + name: '飞书', + groups: [ + { + enable: false, + key: 10, + name: '自动查看原图', + desc: '查看图片时自动点击【查看原图】', + activityIds: + 'com.ss.android.lark.widget.photo.preview.PhotoPagerActivity', + quickFind: true, + rules: '[id="com.ss.android.lark:id/look_origin_icon"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12840528', + }, + { + enable: false, + key: 11, + name: '自动发送原图', + desc: '发送图片时自动勾选【原图】', + activityIds: 'com.ss.android.lark.chatwindow.ChatWindowActivity', + quickFind: true, + rules: + '@View[id$="original_photo"][checked=false] + [id="com.ss.android.lark:id/original_label"][text="原图"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12840551', + }, + ], +});