From 4d9833999f7fca00b29a0223f0542e69dbf7afbd Mon Sep 17 00:00:00 2001 From: jiuqianyuan <39406781+jiuqianyuan@users.noreply.github.com> Date: Mon, 13 Nov 2023 01:07:05 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E9=85=B7=E7=8B=97=E6=A6=82=E5=BF=B5?= =?UTF-8?q?=E7=89=88):=20=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A=20(#2045)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(酷狗概念版):开屏广告 * chore(actions): check_format_lint * Update com.kugou.android.lite.ts --------- Co-authored-by: github-actions[bot] close #2012 close #1993 --- src/apps/com.kugou.android.lite.ts | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/src/apps/com.kugou.android.lite.ts b/src/apps/com.kugou.android.lite.ts index faad4d4c..82dec636 100644 --- a/src/apps/com.kugou.android.lite.ts +++ b/src/apps/com.kugou.android.lite.ts @@ -7,11 +7,25 @@ export default defineAppConfig({ { key: 0, name: '开屏广告', - matchLauncher: true, - activityIds: - 'com.kugou.android.app.splash.adcontainer.AdContainerActivity', - rules: '@[desc="跳过"] - FrameLayout >n [text="互动广告"]', - snapshotUrls: 'https://i.gkd.li/import/12919282', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + key: 0, + quickFind: true, + matches: '[text*="跳过"][text.length<=10]', + snapshotUrls: [ + 'https://i.gkd.li/import/13324363', + 'https://i.gkd.li/import/13318737', + ], + }, + { + key: 1, + matches: '[desc*="跳过" && desc.length<=10]', + snapshotUrls: 'https://i.gkd.li/import/12919282', + }, + ], }, ], });