Skip to content

Commit

Permalink
mcloud: Fix checkver
Browse files Browse the repository at this point in the history
  • Loading branch information
xrgzs committed Oct 23, 2024
1 parent 3b2c39d commit 22362fc
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions bucket/mcloud.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"homepage": "https://c.139.com/",
"description": "The official client for China Mobile 139 Cloud and 139 Email",
"license": "Unknown",
"version": "nightly",
"url": "https://img.zone139.com/m2012/controlupdate/current/mCloud_Setup-002.exe#/mcloud-setup.7z",
"version": "8.1.3",
"hash": "ee1243bdc46500076a47485d9626c7a44ee06468f7f593fab8a1144afe421999",
"url": "https://yun.mcloud.139.com/mCloudPc/v813/mCloud_Setup-001.exe#/dl.7z",
"installer": {
"script": [
"Remove-Item -Force -Recurse \"$dir\\*\" -Exclude \"app.7z\"",
Expand All @@ -13,8 +14,16 @@
},
"shortcuts": [
[
"139Mail.exe",
"和彩云"
"mCloud.exe",
"中国移动云盘"
]
]
],
"checkver": {
"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",
"jsonpath": "$.body[?(@.name == 'Windows')].description",
"regex": "V([\\d.]+)"
},
"autoupdate": {
"url": "https://yun.mcloud.139.com/mCloudPc/v$cleanVersion/mCloud_Setup-001.exe#/dl.7z"
}
}

0 comments on commit 22362fc

Please sign in to comment.