Rough code. Not tested.
This commit is contained in:
parent
c2f9d4a782
commit
f1831c78a8
@ -74,7 +74,9 @@ namespace OWTrack
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
File.WriteAllText(Paths.SAVES, JsonConvert.SerializeObject(tracker));
|
JsonConvert json = new JsonConvert();//Not tested
|
||||||
|
json.Formatting = Formatting.Indented;
|
||||||
|
File.WriteAllText(Paths.SAVES, json.SerializeObject(tracker));//check if (Indented) Parameter exists
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
catch (Exception)
|
catch (Exception)
|
||||||
|
Loading…
Reference in New Issue
Block a user