Skip to content

Commit

Permalink
TencentQQNT: Update checkver script (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
AkariiinMKII authored Jan 15, 2025
1 parent 05b4f5e commit 45936ce
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion bucket/TencentQQNT.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,15 @@
]
},
"checkver": {
"url": "https://qq-web.cdn-go.cn/im.qq.com_new/0a1f92da/202501101716/windowsDownloadUrl.js",
"script": [
"$pre_url = $json.homepage",
"$pre_regex = 'rainbowConfigUrl\\s=\\s\"(.+)\\?t='",
"$pre_page = Invoke-WebRequest $pre_url | Select-Object -ExpandProperty Content",
"$pre_page -match $pre_regex",
"$check_url = $matches[1]",
"$check_page = Invoke-WebRequest $check_url | Select-Object -ExpandProperty Content",
"$check_page"
],
"regex": "QQNT\\/Windows\\/QQ_([\\d\\.]+)_([\\d]+)_x64_01\\.exe",
"replace": "${1}.${2}"
},
Expand Down

0 comments on commit 45936ce

Please sign in to comment.