write config file in indented JSON
This commit is contained in:
@@ -36,6 +36,7 @@ namespace EliteBGS.Util {
|
||||
filestream.Flush();
|
||||
using (StreamWriter file = new StreamWriter(filestream, Encoding.UTF8)) {
|
||||
var stream = new JsonTextWriter(file);
|
||||
stream.Formatting = Formatting.Indented;
|
||||
serializer.Serialize(stream, global_config);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user