From 01126fd5be311339e32f658664a0876ffad4671c Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Thu, 21 Sep 2023 22:03:51 +0800 Subject: [PATCH] =?UTF-8?q?feat(OurPlay=E5=8A=A0=E9=80=9F=E5=99=A8):=20?= =?UTF-8?q?=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A,=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=20(#248)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.excean.splay.ts | 40 ++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 src/apps/com.excean.splay.ts diff --git a/src/apps/com.excean.splay.ts b/src/apps/com.excean.splay.ts new file mode 100644 index 00000000..d1a6e63b --- /dev/null +++ b/src/apps/com.excean.splay.ts @@ -0,0 +1,40 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.excean.splay', + name: 'OurPlay加速器', + groups: [ + { + key: 0, + name: '开屏广告', + activityIds: ['com.excelliance.kxqp.gs.main.MainActivity'], + rules: [ + { + matches: 'ImageView -(4) LinearLayout[childCount=2] > [text^="跳过"]', + snapshotUrls: ['https://gkd-kit.gitee.io/import/12684539'], + }, + { + matches: + '[id="com.excean.splay:id/fl_jump"] - RelativeLayout > [text="跳过"][clickable=true]', + snapshotUrls: ['https://gkd-kit.gitee.io/import/12684565'], + }, + { + matches: '[id="com.excean.splay:id/render_ad_skip"][text^="跳过"]', + snapshotUrls: ['https://gkd-kit.gitee.io/import/12684579'], + }, + ], + }, + { + key: 1, + name: '更新弹窗', + activityIds: ['com.excelliance.kxqp.gs.main.MainActivity'], + rules: [ + { + matches: + '[id="com.excean.splay:id/positive"][text="立即更新"] + [id="com.excean.splay:id/negative"][text="忽略"]', + snapshotUrls: ['https://gkd-kit.gitee.io/import/12684551'], + }, + ], + }, + ], +});