From 0a4bb8bca4cb99d51b2c7c08a79f9d1b551fe6c1 Mon Sep 17 00:00:00 2001 From: jiuqianyuan <39406781+jiuqianyuan@users.noreply.github.com> Date: Mon, 13 Nov 2023 00:25:57 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E4=B8=AD=E5=9B=BD=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E6=B1=9F=E8=8B=8F):=20=E7=89=88=E6=9C=AC=E6=9B=B4=E6=96=B0=20(?= =?UTF-8?q?#2025)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.jsmcc.ts | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/src/apps/com.jsmcc.ts b/src/apps/com.jsmcc.ts index 482b9531..ea996e8a 100644 --- a/src/apps/com.jsmcc.ts +++ b/src/apps/com.jsmcc.ts @@ -7,11 +7,13 @@ export default defineAppConfig({ { key: 0, name: '开屏广告', - activityIds: ['com.jsmcc.ui.MainActivityGroupNew'], + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', rules: [ { matches: - '[id="com.jsmcc:id/ad_content"] [text^="跳过"][text.length<=3]', + '[id="com.jsmcc:id/ad_content"] [text*="跳过"][text.length<=10]', snapshotUrls: [ 'https://i.gkd.li/import/12830488', 'https://i.gkd.li/import/12830580', @@ -19,5 +21,21 @@ export default defineAppConfig({ }, ], }, + { + key: 1, + name: '版本更新', + matchLauncher: true, + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + key: 0, + matches: '[id="com.jsmcc:id/cancelVersionTV"]', + snapshotUrls: 'https://i.gkd.li/import/13327322', + }, + ], + }, ], });