feat(UPUPOO动态壁纸):开屏广告(优化规则)、青少年模式 (#4084)

close #4083
This commit is contained in:
AIsouler 2024-01-28 13:18:55 +08:00 committed by GitHub
parent 155136a8d4
commit d4ea82e38d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,8 +10,27 @@ export default defineAppConfig({
matchTime: 10000,
resetMatch: 'app',
actionMaximum: 1,
rules: '[id="android:id/content"] >n FrameLayout[childCount=4] > View',
snapshotUrls: 'https://i.gkd.li/import/13830230',
rules:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView',
snapshotUrls: [
'https://i.gkd.li/import/13830230',
'https://i.gkd.li/import/14052232',
],
},
{
key: 1,
name: '青少年模式',
desc: '点击"我知道了"',
matchTime: 10000,
resetMatch: 'app',
actionMaximum: 1,
rules: [
{
activityIds: 'com.upupoo.apu.mobile.MainActivity',
matches: '[desc="青少年模式"] +3 [desc="我知道了"]',
snapshotUrls: 'https://i.gkd.li/import/14052188',
},
],
},
],
});