Make it work! (TODO make it not crash)
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
dcaa907fed
commit
2343aad088
2 changed files with 108 additions and 18 deletions
|
@ -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);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue