feat(浙里办): 开屏广告(优化规则)、更新弹窗 (#2259)

* feat 开屏广告(优化规则)

* feat 更新弹窗
This commit is contained in:
Kun Jinkao 2023-11-20 20:43:47 +08:00 committed by GitHub
parent b1e86d1d77
commit 3c62d5871c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,11 +7,22 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
activityIds:
'com.alibaba.gov.android.welcome.activity.DefaultWelcomeActivity',
rules:
'[id="com.hanweb.android.zhejiang.activity:id/gov_splash_tv_count_down"][text ^= "跳过"]',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: '[text^="跳过"][text.length<=10]',
snapshotUrls: 'https://i.gkd.li/import/12913138',
},
{
key: 1,
name: '更新弹窗',
actionMaximum: 1,
resetMatch: 'app',
quickFind: true,
rules:
'@[id="com.hanweb.android.zhejiang.activity:id/iv_cancel"] -2 * >2 [text="发现新版本"]',
snapshotUrls: 'https://i.gkd.li/import/13402048',
},
],
});