ivaquero / scoopet

🚀 A Scoop bucket for facilitating academic research
BSD 2-Clause "Simplified" License
264 stars 67 forks source link

qq-nt: fix checkver and update to 9.9.11 #125

Closed wenxuanjun closed 5 months ago

wenxuanjun commented 5 months ago

qq-nt 的 manifest 没有正常更新,原因是 checkver 与 autoupdate 配置无法正确获取 url,报错如下:

.\bin\checkver.ps1 -Dir ..\..\..\buckets\scoopet -App qq-nt -u
qq-nt: 9.9.11 (scoop version is 9.9.9) autoupdate available
Autoupdating qq-nt
ERROR 使用“1”个参数调用“.ctor”时发生异常:“无效的 URI: 未能确定 URI 的格式。”

现修改 checkver 正则匹配与 autoupdate 中的 url 配置,能正确自动更新 manifest:

.\bin\checkver.ps1 -Dir ..\..\..\buckets\scoopet -App qq-nt -u
qq-nt: 9.9.11 (scoop version is 9.9.9) autoupdate available
Autoupdating qq-nt
Downloading QQ_9.9.11_240606_x86_01.exe to compute hashes!
QQ_9.9.11_240606_x86_01.exe (170.7 MB) [======================================================================] 100%
Computed hash: c14106bfff6ef44a006fc5a6bf8927933e67e8f9d30502f4d54d0736c790cfd4
Downloading QQ_9.9.11_240606_x64_01.exe to compute hashes!
QQ_9.9.11_240606_x64_01.exe (183.8 MB) [======================================================================] 100%
Computed hash: 281931793c9260c7f220b34e16517f8fb577026186e6c1c94f7eac6489861543
Writing updated qq-nt manifest