mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 16:54:43 +08:00
* 增加对APP【Fa米家】的适配 * feat(Fa米家): 开屏广告、升级弹窗 * chore(actions): check_format_lint * Update com.x2era.xcloud.app.ts --------- Co-authored-by: h7221836 <h7221836@qq.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: 二刺螈 <i@songe.li>
37 lines
865 B
TypeScript
37 lines
865 B
TypeScript
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',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|