From 34a6de319889dfbfc3663065e195489bf9b2942f Mon Sep 17 00:00:00 2001 From: walklty <47232102+walklty@users.noreply.github.com> Date: Wed, 18 Oct 2023 00:10:22 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=9C=BB=E8=9C=93=E7=82=B9=E9=87=91):=20?= =?UTF-8?q?=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A,=20=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E6=9D=83=E9=99=90=20(#1165)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #1158 --- ...ngxinjiantou.szkingdom.android.newphone.ts | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 src/apps/zhongxinjiantou.szkingdom.android.newphone.ts diff --git a/src/apps/zhongxinjiantou.szkingdom.android.newphone.ts b/src/apps/zhongxinjiantou.szkingdom.android.newphone.ts new file mode 100644 index 00000000..be9c56f9 --- /dev/null +++ b/src/apps/zhongxinjiantou.szkingdom.android.newphone.ts @@ -0,0 +1,38 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'zhongxinjiantou.szkingdom.android.newphone', + name: '蜻蜓点金', + groups: [ + { + key: 0, + name: '开屏广告', + desc: '点击跳过', + matchLauncher: true, + quickFind: true, + activityIds: + 'kds.szkingdom.modeinit.android.init.activity.ZXJTInitActivity', + rules: [ + { + matches: + '[id="zhongxinjiantou.szkingdom.android.newphone:id/kds_advertise_btn_timmer"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12924454', + }, + ], + }, + { + key: 1, + name: '通知权限', + desc: '点击放弃通知', + quickFind: true, + activityIds: 'com.szkingdom.android.phone.ZXJTUserMainActivity', + rules: [ + { + matches: + '[id="zhongxinjiantou.szkingdom.android.newphone:id/tv_notify_confirm_off"][text="放弃通知"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12924466', + }, + ], + }, + ], +});