From 7cf9d2761d12824d14d2669c4e67cdd4129a935c Mon Sep 17 00:00:00 2001 From: minglu7 <1347866672@qq.com> Date: Wed, 15 Jan 2025 17:45:52 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=98=9F=E6=98=9F=E5=85=85=E7=94=B5):=20?= =?UTF-8?q?=E8=B7=B3=E8=BF=87=E5=85=A8=E5=B1=80=E5=B9=BF=E5=91=8A=E5=92=8C?= =?UTF-8?q?=E7=AD=BE=E5=88=B0=E6=8F=90=E7=A4=BA=20(#718)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: minglu7 Co-authored-by: AIsouler --- src/apps/com.wanbangauto.chargepile.ts | 45 ++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 src/apps/com.wanbangauto.chargepile.ts diff --git a/src/apps/com.wanbangauto.chargepile.ts b/src/apps/com.wanbangauto.chargepile.ts new file mode 100644 index 00000000..279bd4fe --- /dev/null +++ b/src/apps/com.wanbangauto.chargepile.ts @@ -0,0 +1,45 @@ +import { defineGkdApp } from '@gkd-kit/define'; + +export default defineGkdApp({ + id: 'com.wanbangauto.chargepile', + name: '星星充电', + groups: [ + { + key: 1, + name: '全屏广告-弹窗广告', + desc: '点击关闭', + fastQuery: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + activityIds: '.ui.newhome.MainActivity', + matches: '@[vid="image_close"][visibleToUser=true]', + exampleUrls: 'https://e.gkd.li/ce4838fb-0f0d-4b20-bab3-565bd80bbc93', + snapshotUrls: 'https://i.gkd.li/i/18421090', + }, + ], + }, + { + key: 2, + name: '功能类-签到提示', + desc: '点击[忽略]', + fastQuery: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + activityIds: '.ui.newhome.MainActivity', + matches: [ + '[text^="小星提醒您"][visibleToUser=true]', + '[text="忽略"][visibleToUser=true]', + ], + exampleUrls: 'https://e.gkd.li/542507c4-57dd-46f5-b354-78cdbacb3191', + snapshotUrls: 'https://i.gkd.li/i/18421092', + }, + ], + }, + ], +});