From 1b24a354cce883e70fdfdf3ee418c8d168efda67 Mon Sep 17 00:00:00 2001 From: jiuqianyuan <39406781+jiuqianyuan@users.noreply.github.com> Date: Sun, 26 Nov 2023 21:06:43 +0800 Subject: [PATCH] =?UTF-8?q?feat(OPPO=E8=BD=AF=E4=BB=B6=E5=95=86=E5=BA=97):?= =?UTF-8?q?=20=E7=89=88=E6=9C=AC=E6=9B=B4=E6=96=B0=20(#2486)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(OPPO软件商店):版本更新 * chore(actions): check_format_lint --------- Co-authored-by: github-actions[bot] --- src/apps/com.heytap.market.ts | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/src/apps/com.heytap.market.ts b/src/apps/com.heytap.market.ts index 946c7526..51052c65 100644 --- a/src/apps/com.heytap.market.ts +++ b/src/apps/com.heytap.market.ts @@ -2,16 +2,35 @@ import { defineAppConfig } from '../types'; export default defineAppConfig({ id: 'com.heytap.market', - name: '软件商店', + name: 'OPPO软件商店', groups: [ { key: 0, name: '开屏广告', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: '[text*="跳过"][text.length<=10]', + snapshotUrls: 'https://i.gkd.li/import/12506561', + }, + { + key: 1, + name: '版本更新', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', activityIds: 'com.heytap.cdo.client.cards.page.main.maintab.MainTabActivity', - rules: - '[id="android:id/content"] > RelativeLayout > LinearLayout > [text="跳过"||text="Skip"]', - snapshotUrls: 'https://i.gkd.li/import/12506561', + rules: [ + { + action: 'back', + matches: + '[id="com.heytap.market:id/tv_titile"][text="发现软件商店新版本"]', + snapshotUrls: 'https://i.gkd.li/import/13455965', + }, + ], }, ], });