From de45f6e30c8db3846ddebd74c86d154233ed6a1c Mon Sep 17 00:00:00 2001 From: jiuqianyuan <39406781+jiuqianyuan@users.noreply.github.com> Date: Mon, 13 Nov 2023 00:32:33 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=BD=A9=E8=99=B9=E5=A4=9A=E5=A4=9A):=20?= =?UTF-8?q?=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A;=20=E5=B9=BF=E5=91=8A?= =?UTF-8?q?=E5=BC=B9=E7=AA=97;=20=E9=80=9A=E7=9F=A5=E5=BC=B9=E7=AA=97=20(#?= =?UTF-8?q?2033)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(彩虹多多) * chore(actions): check_format_lint --------- Co-authored-by: github-actions[bot] close #2014 --- src/apps/com.ddyc.lotterytool.ts | 42 ++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/apps/com.ddyc.lotterytool.ts diff --git a/src/apps/com.ddyc.lotterytool.ts b/src/apps/com.ddyc.lotterytool.ts new file mode 100644 index 00000000..b9e15897 --- /dev/null +++ b/src/apps/com.ddyc.lotterytool.ts @@ -0,0 +1,42 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.ddyc.lotterytool', + name: '彩虹多多', + groups: [ + { + key: 0, + name: '开屏广告', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: '[text*="跳过"][text.length<=10]', + snapshotUrls: 'https://i.gkd.li/import/13324556', + }, + { + enable: false, + key: 1, + name: '广告弹窗', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + activityIds: 'com.ddyc.lotterytool.module.main.MainActivity', + rules: + 'ImageView - ImageButton[id="com.ddyc.lotterytool:id/arg"][text=null]', + snapshotUrls: 'https://i.gkd.li/import/13324555', + }, + { + enable: false, + key: 2, + name: '请求推送通知弹窗', + matchLauncher: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: '[text^="开启推送通知"] +2 LinearLayout [text="以后再说"]', + snapshotUrls: 'https://i.gkd.li/import/13325888', + }, + ], +});