Skip to content

Commit 0dc10e5

Browse files
committed
feat: 云·原神 开屏广告-自动下载版本更新
1 parent b2a78d7 commit 0dc10e5

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

src/apps/com.miHoYo.cloudgames.ys.ts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,34 @@ export default defineGkdApp({
44
id: 'com.miHoYo.cloudgames.ys',
55
name: '云·原神',
66
groups: [
7+
{
8+
key: 0,
9+
name: '开屏广告-自动下载版本更新',
10+
desc: '强制更新否则不让玩(本质和开屏广告性质一样)',
11+
matchTime: 16000,
12+
actionMaximum: 2,
13+
resetMatch: 'app',
14+
fastQuery: true,
15+
activityIds: 'com.mihoyo.cloudgame.main.MiHoYoCloudMainActivity',
16+
rules: [
17+
{
18+
key: 0,
19+
name: '点击[立即更新]',
20+
matches:
21+
'[vid="mUpgradeTitle"][visibleToUser=true] +3 LinearLayout > [vid="mUpgradeDialogOK"][clickable=true]',
22+
snapshotUrls: 'https://i.gkd.li/i/26310355',
23+
exampleUrls: 'https://e.gkd.li/c061f2fd-ed19-4ae2-84c9-ae1bbc37ace1',
24+
},
25+
{
26+
preKeys: [0],
27+
name: '点击[开始安装]',
28+
matches:
29+
'ViewGroup[childCount=3] > [vid="mDescription"][visibleToUser=true] + [vid="mBtnConfirm"][clickable=true]',
30+
snapshotUrls: 'https://i.gkd.li/i/26310561',
31+
exampleUrls: 'https://e.gkd.li/c5f4db25-e1e5-492e-874d-c4e96eea5e99',
32+
},
33+
],
34+
},
735
{
836
key: 1,
937
name: '功能类-自动点击[使用流量进行游戏]',

0 commit comments

Comments
 (0)