From 474281fcfcfb548c9d4044c93434d6a66999d501 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Tue, 10 Oct 2023 00:17:40 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E9=A3=9E=E4=B9=A6):=20=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E5=8E=9F=E5=9B=BE,=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8F=91=E9=80=81=E5=8E=9F=E5=9B=BE=20(#812)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat 【自动查看原图】 * feat 【自动发送原图】 --- src/apps/com.ss.android.lark.ts | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/apps/com.ss.android.lark.ts 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', + }, + ], +});