kkzzhizhou / scoop-zapps

自用Scoop仓库,使用Github Action自动更新
MIT License
82 stars 21 forks source link

hash效验问题 #33

Closed Weidows closed 2 years ago

Weidows commented 2 years ago

不过还有一些其他软件也存在这问题,比如VMware

kkzzhizhou commented 2 years ago
  • 比如图吧工具箱的

    "autoupdate": {
      "url": "https://scoop-zapps.ziiyc.com/d/TuBaTool/TuBaTool-$version.exe#/TuBaTool.7z",
      "hash": {
          "url": "$url.sha256",
          "regex": "$sha256"
      }
    }

    检索的url为 https://scoop-zapps.ziiyc.com/d/TuBaTool/TuBaTool-2022.01.exe#/TuBaTool.7z.sha256 但实际上应该是 https://scoop-zapps.ziiyc.com/d/TuBaTool/TuBaTool-2022.01.exe.sha256 image

  • 改成这样应该就好了
    "autoupdate": {
      "url": "https://scoop-zapps.ziiyc.com/d/TuBaTool/TuBaTool-$version.exe#/TuBaTool.7z",
      "hash": {
          "url": "$url#/TuBaTool.7z.sha256",
          "regex": "$sha256"
      }
    }

不过还有一些其他软件也存在这问题,比如VMware

目前已经修复,应该只是hash值获取错误的问题。