Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
feat(UPUPOO动态壁纸):开屏广告(优化规则)、青少年模式 (#4084)
Browse files Browse the repository at this point in the history
close #4083
  • Loading branch information
AIsouler authored Jan 28, 2024
1 parent 155136a commit d4ea82e
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions src/apps/com.upupoo.apu.mobile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
],
},
],
});

0 comments on commit d4ea82e

Please sign in to comment.