Use non-mod metadata in ModrinthPackExportTask

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad 2024-10-25 19:13:41 +01:00
parent 5eff9b0934
commit 13e13ea8fc
No known key found for this signature in database
GPG key ID: 5E39D70B4C93C38E
8 changed files with 143 additions and 109 deletions

View file

@ -115,7 +115,7 @@ QString hash(QIODevice* device, Algorithm type)
QCryptographicHash hash(alg);
if (!hash.addData(device))
qCritical() << "Failed to read JAR to create hash!";
qCritical() << "Failed to read file to create hash!";
Q_ASSERT(hash.result().length() == hash.hashLength(alg));
auto result = hash.result().toHex();