Delete old data.json

This commit is contained in:
glax 2023-05-21 01:58:07 +02:00
parent e02b00e0ef
commit 9d0fc18051

View File

@ -271,6 +271,7 @@ public class TaskManager
string exportPath = Path.Join(exportFolderPath, "data.json");
string serializedData = JsonConvert.SerializeObject(data);
File.Delete(exportPath);
File.WriteAllText(exportPath, serializedData);
}