fixed crash in 98 when downloading something

This commit is contained in:
lempamo 2017-10-30 22:12:23 -04:00
parent 98ef2526d6
commit 7f58311cc5

View file

@ -360,7 +360,7 @@ public static void UpgradeFileSystem(string newOS)
fsfi = JsonConvert.DeserializeObject<FileSystemFolderInfo>(File.ReadAllText(Path.Combine(ProfileWindowsDirectory, "_data.info")));
Directory.Delete(Path.Combine(ProfileWindowsDirectory, "Desktop"), true);
Directory.CreateDirectory(Path.Combine(ProfileWindowsDirectory, "Desktop"));
SaveDirectoryInfo(ProfileWindowsDirectory, "Desktop", true, "Desktop", true);
}
}