mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-07 10:58:40 -04:00
Update HMCLCore/src/main/java/org/jackhuang/hmcl/mod/modrinth/ModrinthInstallTask.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
b4fd31659e
commit
a7ef3b9e07
@ -133,6 +133,6 @@ public class ModrinthInstallTask extends Task<Void> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Path root = repository.getVersionRoot(name).toPath();
|
Path root = repository.getVersionRoot(name).toPath();
|
||||||
FileUtils.writeText(root.resolve("modrinth.index.json"), JsonUtils.GSON.toJson(manifest));
|
JsonUtils.writeToJsonFile(root.resolve("modrinth.index.json"), manifest);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user