diff --git a/Tranga/TaskManager.cs b/Tranga/TaskManager.cs index e60ccb6..e7b6c2f 100644 --- a/Tranga/TaskManager.cs +++ b/Tranga/TaskManager.cs @@ -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); }