From 222719503adec6c8e8221a37f64d22b4f0573dd2 Mon Sep 17 00:00:00 2001 From: Lubb <77184814+h7221836@users.noreply.github.com> Date: Fri, 24 Nov 2023 00:12:51 +0800 Subject: [PATCH] =?UTF-8?q?feat(Fa=E7=B1=B3=E5=AE=B6):=20=E5=BC=80?= =?UTF-8?q?=E5=B1=8F=E5=B9=BF=E5=91=8A=E3=80=81=E5=8D=87=E7=BA=A7=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=20(#2457)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 增加对APP【Fa米家】的适配 * feat(Fa米家): 开屏广告、升级弹窗 * chore(actions): check_format_lint * Update com.x2era.xcloud.app.ts --------- Co-authored-by: h7221836 Co-authored-by: github-actions[bot] Co-authored-by: 二刺螈 --- src/apps/com.x2era.xcloud.app.ts | 36 ++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/apps/com.x2era.xcloud.app.ts diff --git a/src/apps/com.x2era.xcloud.app.ts b/src/apps/com.x2era.xcloud.app.ts new file mode 100644 index 00000000..8d96d335 --- /dev/null +++ b/src/apps/com.x2era.xcloud.app.ts @@ -0,0 +1,36 @@ +import { defineAppConfig } from '../types'; +export default defineAppConfig({ + id: 'com.x2era.xcloud.app', + name: 'Fa米家', + groups: [ + { + key: 0, + name: '开屏广告', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + matches: '[id="com.x2era.xcloud.app:id/tv_jump"]', + snapshotUrls: 'https://i.gkd.li/import/13420730', + }, + ], + }, + { + key: 1, + name: 'Fa米家-升级提示', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + desc: '关闭升级弹窗', + rules: [ + { + activityIds: 'com.x2era.xcloud.app.MainActivity', + matches: '[id$=\'com.x2era.xcloud.app:id/iv_cancel\']', + snapshotUrls: 'https://i.gkd.li/import/13420706', + }, + ], + }, + ], +});