feat(海南一卡通): 开屏广告, 更新弹窗 (#190)

* feat(海南一卡通)

* 移动 ts 文件
This commit is contained in:
Kun Jinkao
2023-09-20 00:30:31 +08:00
committed by GitHub
parent a8df26488b
commit bd6e8fd6c1

View File

@@ -0,0 +1,42 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.onecard.hainan',
name: '海南一卡通',
groups: [
{
key: 0,
name: '开屏广告',
activityIds: [
'com.hainan.renshe.app.ui.SplashActivity',
'com.miui.home.launcher.Launcher',
],
rules: [
{
matches: '[id="com.onecard.hainan:id/tv_jump"][text$="跳过"]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12662092',
'https://gkd-kit.gitee.io/import/12662129',
],
},
],
},
{
key: 1,
name: '更新弹窗',
activityIds: [
'com.hainan.renshe.app.ui.SplashActivity',
'com.miui.home.launcher.Launcher',
],
rules: [
{
matches: '@[text="暂不更新"] +(2) [text="立即更新"]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12662114',
'https://gkd-kit.gitee.io/import/12662136',
],
},
],
},
],
});