We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1cf7800 commit dcdf4bcCopy full SHA for dcdf4bc
bucket/qqnt.json
@@ -21,7 +21,14 @@
21
]
22
],
23
"checkver": {
24
- "url": "https://qq-web.cdn-go.cn/im.qq.com_new/f2ff7664/rainbow/windowsDownloadUrl.js",
+ "script": [
25
+ "$url = 'https://im.qq.com/pcqq/index.shtml'",
26
+ "$resp = Invoke-WebRequest -Uri $url",
27
+ "$cont = $resp.Content",
28
+ "$pattern = 'https://qq-web.cdn-go.cn.*windowsDownloadUrl.js'",
29
+ "$jsUrl = [regex]::Match($cont, $pattern).Value",
30
+ "Invoke-WebRequest -Uri $jsUrl"
31
+ ],
32
"regex": "QQNT/Windows/QQ_([\\d\\.]+)_([\\d]+)_x86_01.exe",
33
"replace": "${1}.${2}"
34
},
0 commit comments