write config file in indented JSON
This commit is contained in:
parent
e39dd6ffda
commit
4cd0c02c67
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user