Fix index hashes: hash LF-normalised text (what git serves), add tools/reindex.mjs

The initial index hashed Windows working-copy files with CRLF, so packwiz-installer
rejected every text config with 'Hash invalid'.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Full_droper
2026-10-02 20:35:14 +03:00
co-authored by Claude Opus 5.5
parent 92f821851c
commit cc5a8f0f2b
3 changed files with 144 additions and 110 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ pack-format = "packwiz:1.1.0"
[index]
file = "index.toml"
hash-format = "sha256"
hash = "3718643fa33200851a6a0ae897801697da82ac5dc1da681d6bdef7258bab92cb"
hash = "b4b1c5f9ad49a5df735b4bd3697da9e652253d596c7129938505b037a9efd33b"
[versions]
minecraft = "1.21.1"