fix(皮皮喵): 开屏广告失效

This commit is contained in:
AIsouler
2024-04-17 18:39:13 +08:00
parent a63fe37dfe
commit b0cbc61f23

View File

@@ -10,11 +10,11 @@ export default defineAppConfig({
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0, key: 0,
matches: '@FrameLayout - LinearLayout [text$="惊喜奖励"]', quickFind: true,
matches: '@FrameLayout - LinearLayout >2 [text$="惊喜奖励"]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/12777048', 'https://i.gkd.li/i/12777048',
'https://i.gkd.li/i/12858015', 'https://i.gkd.li/i/12858015',
@@ -22,8 +22,9 @@ export default defineAppConfig({
}, },
{ {
key: 1, key: 1,
quickFind: true,
matches: '[text="放弃奖励离开"]', matches: '[text="放弃奖励离开"]',
snapshotUrls: 'https://i.gkd.li/i/12777058', snapshotUrls: 'https://i.gkd.li/i/15008493',
}, },
{ {
key: 2, key: 2,
@@ -33,11 +34,7 @@ export default defineAppConfig({
{ {
key: 3, key: 3,
matches: '[desc="关闭喵"]', matches: '[desc="关闭喵"]',
snapshotUrls: [ snapshotUrls: 'https://i.gkd.li/i/13797494',
'https://i.gkd.li/i/12777059',
'https://i.gkd.li/i/12777054', // activityId: 'com.gentle.ppcat.MainActivity'
'https://i.gkd.li/i/13797494', // activityId: 'com.hihonor.android.launcher.drawer.DrawerLauncher'
],
}, },
], ],
}, },