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

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

Merged
merged 1 commit into from
Jan 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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',
},
],
},
],
});