Use non-mod metadata in ModrinthPackExportTask
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
5eff9b0934
commit
13e13ea8fc
8 changed files with 143 additions and 109 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue