packwiz / packwiz-installer

An installer for packwiz modpacks, with automatic auto-updating and optional mods! Works well with MultiMC and on servers.
https://packwiz.infra.link/
MIT License
46 stars 21 forks source link

Invalid mod file hash on every mod #55

Closed mja00 closed 1 year ago

mja00 commented 1 year ago

I saw that this could be caused by committing to a repo on Windows but I've gone through all the steps to fix this and reset the line endings but I'm still having issues with the file hashes not matching. Not really sure what I'm doing wrong.

If I manually run sha256sum on the files and check them against the ones in the index the hashes appear to be the same. I've even resorted to wiping the repo and redoing it from scratch with the .gitattributes file from the start but it doesn't seem to help.

mja00 commented 1 year ago

I can safely blame this on Cloudflare caching. Thought I had the entire directory exempt from it but nope!