matthewjberger / scoop-nerd-fonts

A scoop bucket for installing nerd fonts
The Unlicense
360 stars 34 forks source link

raleway@20170904: hash check failed #80

Closed benfishbus closed 4 years ago

benfishbus commented 4 years ago
PS C:\Users\Name> sudo scoop install open-sans raleway
Installing 'open-sans' (1) [64bit]
Loading fonts.zip from cache
Checking hash of fonts.zip ... ok.
Extracting fonts.zip ... done.
Running installer script...
Linking ~\scoop\apps\open-sans\current => ~\scoop\apps\open-sans\1
'open-sans' (1) was installed successfully!
Installing 'raleway' (20170904) [64bit]
Downloading https://fonts.google.com/download?family=Raleway#/fonts.zip (-1 B)...

Checking hash of fonts.zip ... ERROR Hash check failed!
App:         nerd-fonts/raleway
URL:         https://fonts.google.com/download?family=Raleway#/fonts.zip
First bytes: 50 4B 03 04 14 00 08 08
Expected:    82d4d80b781b2736fbd46edd7bc6273fd118bc4a64a8072d0f1f3e797e0be551
Actual:      c17014502c019534933fccb4e719a1cefe8a2e84bf84fcc554e7a1e643484872
matthewjberger commented 4 years ago

Thank you!

matthewjberger commented 4 years ago

I'm noticing that the download has a different hash each time it's downloaded for some reason.

To install it, use: scoop install raleway --skip to skip the hash check. I'll make a note about this in the readme as well.

TheRandomLabs commented 4 years ago

If this is the case, would it not be better to remove the hash from the manifest and change the version to nightly?

matthewjberger commented 4 years ago

I went ahead and removed the hash and changed the version to nightly in 36e27cf. I actually wasn't aware that the hash check could be skipped in that way, so thank you :)

TheRandomLabs commented 4 years ago

Great! :)