mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-08-03 11:26:38 -04:00
update
This commit is contained in:
parent
70c4559ee4
commit
2efea1ab08
@ -200,6 +200,7 @@ public class DefaultCacheRepository extends CacheRepository {
|
||||
private void saveIndex() {
|
||||
if (indexFile == null || index == null) return;
|
||||
try {
|
||||
Files.createDirectories(indexFile.getParent());
|
||||
JsonUtils.writeToJsonFile(indexFile, index);
|
||||
} catch (IOException e) {
|
||||
LOG.error("Unable to save index.json", e);
|
||||
|
Loading…
x
Reference in New Issue
Block a user