Make it work! (TODO make it not crash)

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad
2023-03-03 15:00:07 +00:00
parent dcaa907fed
commit 2343aad088
2 changed files with 108 additions and 18 deletions

View File

@ -40,5 +40,10 @@ class ModrinthPackExportTask : public Task {
const QString output;
const MMCZip::FilterFunction filter;
QByteArray generateIndex();
struct ResolvedFile {
QString sha1, sha512, url;
int size;
};
QByteArray generateIndex(const QMap<QString, ResolvedFile>& urls);
};