data.json is now saved with indentation for easy post-editing
This commit is contained in:
parent
684760c0bf
commit
4537f4bef9
@ -264,7 +264,7 @@ public class CustomMusicLoaderPatch
|
||||
}
|
||||
}
|
||||
|
||||
File.WriteAllText(Path.Combine(musicDirectory, "conversion.json"), JsonConvert.SerializeObject(conversionStatus), Encoding.Unicode);
|
||||
File.WriteAllText(Path.Combine(musicDirectory, "conversion.json"), JsonConvert.SerializeObject(conversionStatus, Formatting.Indented), Encoding.Unicode);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
@ -306,7 +306,7 @@ public class CustomMusicLoaderPatch
|
||||
}
|
||||
|
||||
song.areFilesGZipped = true;
|
||||
File.WriteAllText(dataPath, JsonConvert.SerializeObject(song));
|
||||
File.WriteAllText(dataPath, JsonConvert.SerializeObject(song, Formatting.Indented));
|
||||
|
||||
SubmitDirectory(directory, true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user