Skip to content

Commit 84366ca

Browse files
committed
mcloud: Fix checkver
1 parent 3762c98 commit 84366ca

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

bucket/mcloud.json

+13-5
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"homepage": "https://c.139.com/",
33
"description": "The official client for China Mobile 139 Cloud and 139 Email",
44
"license": "Unknown",
5-
"version": "nightly",
6-
"url": "https://img.zone139.com/m2012/controlupdate/current/mCloud_Setup-002.exe#/mcloud-setup.7z",
5+
"version": "8.1.2",
6+
"url": "https://yun.mcloud.139.com/mCloudPc/v812/mCloud_Setup-001.exe#/dl.7z",
77
"installer": {
88
"script": [
99
"Remove-Item -Force -Recurse \"$dir\\*\" -Exclude \"app.7z\"",
@@ -13,8 +13,16 @@
1313
},
1414
"shortcuts": [
1515
[
16-
"139Mail.exe",
17-
"和彩云"
16+
"mCloud.exe",
17+
"中国移动云盘"
1818
]
19-
]
19+
],
20+
"checkver": {
21+
"script": "(Invoke-WebRequest -UseBasicParsing -Uri 'https://yun.139.com/platformInfo/advertapi/adv-filter/adv-filter/AdInfoFilter/getAdInfos' -Method Post -ContentType 'application/json' -Body '{\"adpostid\": 2016}').Content",
22+
"jsonpath": "$.body[?(@.name == 'Windows')].description",
23+
"regex": "V([\\d.]+)"
24+
},
25+
"autoupdate": {
26+
"url": "https://yun.mcloud.139.com/mCloudPc/v$cleanVersion/mCloud_Setup-001.exe#/dl.7z"
27+
}
2028
}

0 commit comments

Comments
 (0)