mirror of
https://github.com/unmojang/FjordLauncher.git
synced 2025-09-11 16:17:29 -04:00
Replace native file separator - this was accidentally brought to my attention on Modrinth's guild
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
ec8cb056bf
commit
710156b9f1
@ -237,7 +237,9 @@ QByteArray ModrinthPackExportTask::generateIndex()
|
|||||||
const ResolvedFile& value = iterator.value();
|
const ResolvedFile& value = iterator.value();
|
||||||
|
|
||||||
QJsonObject file;
|
QJsonObject file;
|
||||||
file["path"] = iterator.key();
|
QString path = iterator.key();
|
||||||
|
path.replace(QDir::separator(), "/");
|
||||||
|
file["path"] = path;
|
||||||
file["downloads"] = QJsonArray({ iterator.value().url });
|
file["downloads"] = QJsonArray({ iterator.value().url });
|
||||||
|
|
||||||
QJsonObject hashes;
|
QJsonObject hashes;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user