mirror of
https://github.com/HistacomUnity/Histacom2-old.git
synced 2025-01-22 09:02:01 -05:00
desktop icons no longer TRANSFAR to windows 98 from 95
This commit is contained in:
parent
45b4754d9e
commit
c29dcdaed4
1 changed files with 9 additions and 0 deletions
|
@ -352,6 +352,15 @@ public static void UpgradeFileSystem(string newOS)
|
|||
break;
|
||||
}
|
||||
}
|
||||
CurrentSave.BytesLeft = 916455424;
|
||||
string toWrite = JsonConvert.SerializeObject(fsfi, Formatting.Indented);
|
||||
|
||||
File.WriteAllText(Path.Combine(ProfileProgramsDirectory, "_data.info"), toWrite);
|
||||
|
||||
fsfi = JsonConvert.DeserializeObject<FileSystemFolderInfo>(File.ReadAllText(Path.Combine(ProfileWindowsDirectory, "_data.info")));
|
||||
|
||||
Directory.Delete(Path.Combine(ProfileWindowsDirectory, "Desktop"), true);
|
||||
Directory.CreateDirectory(Path.Combine(ProfileWindowsDirectory, "Desktop"));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue