From 99391f42c33c5266d42df53ad36ca341ec6528eb Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Fri, 13 Oct 2023 01:19:49 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=BD=91=E6=98=93=E5=A4=A7=E7=A5=9E):=20?= =?UTF-8?q?=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A,=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=20(#978)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat 更新弹窗 * feat 开屏广告 * feat 应用内广告弹窗 --- src/apps/com.netease.gl.ts | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 src/apps/com.netease.gl.ts diff --git a/src/apps/com.netease.gl.ts b/src/apps/com.netease.gl.ts new file mode 100644 index 00000000..071953a7 --- /dev/null +++ b/src/apps/com.netease.gl.ts @@ -0,0 +1,38 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.netease.gl', + name: '网易大神', + groups: [ + { + key: 0, + name: '开屏广告', + activityIds: 'com.netease.gl.ui.activity.welcome.WelcomeActivity', + matchLauncher: true, + quickFind: true, + rules: '[id="com.netease.gl:id/tv_next_step"][text^="跳过"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12883227', + }, + { + key: 1, + name: '更新弹窗', + activityIds: 'com.netease.gl.serviceupdate.widget.DialogUpdate', + rules: + '@[id="com.netease.gl:id/iv_close"] +2 LinearLayout >n [id="com.netease.gl:id/btn_update"]', + snapshotUrls: 'https://gkd-kit.songe.li/import/12883135', + }, + { + key: 2, + name: '应用内广告弹窗', + rules: [ + { + key: 0, + activityIds: 'com.netease.gl.ui.activity.welcome.WelcomeActivity', + matches: + '@[id="com.netease.gl:id/iv_close"] + [id="com.netease.gl:id/iv_cover"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12883277', + }, + ], + }, + ], +});