aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Engine
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-07-04 17:12:25 -0400
committerlempamo <[email protected]>2017-07-04 17:12:25 -0400
commitac75c9cfdb27723b99a3d408fd54518d84cd2853 (patch)
tree80e3196d02c6a271cceeac9d6d6c11152be2e53f /TimeHACK.Engine
parent3a897bb5358db42fee5d3a0f6890d048893eac76 (diff)
downloadhistacom2-ac75c9cfdb27723b99a3d408fd54518d84cd2853.tar.gz
histacom2-ac75c9cfdb27723b99a3d408fd54518d84cd2853.tar.bz2
histacom2-ac75c9cfdb27723b99a3d408fd54518d84cd2853.zip
Added Prototype Windows 98
Diffstat (limited to 'TimeHACK.Engine')
-rw-r--r--TimeHACK.Engine/SaveSystem.cs13
1 files changed, 11 insertions, 2 deletions
diff --git a/TimeHACK.Engine/SaveSystem.cs b/TimeHACK.Engine/SaveSystem.cs
index 7a6eed0..0911805 100644
--- a/TimeHACK.Engine/SaveSystem.cs
+++ b/TimeHACK.Engine/SaveSystem.cs
@@ -5,6 +5,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
+using System.Diagnostics;
namespace TimeHACK.Engine
{
@@ -118,7 +119,15 @@ namespace TimeHACK.Engine
var save = new Save();
save.ExperiencedStories = new List<string>();
- save.CurrentOS = "95";
+ if (DevMode == true)
+ {
+ if (ProfileName == "98")
+ {
+ save.CurrentOS = "98";
+ }
+ else save.CurrentOS = "95";
+ }
+ else save.CurrentOS = "95";
CurrentSave = save;
CheckFiles();
@@ -158,7 +167,7 @@ namespace TimeHACK.Engine
SaveDirectoryInfo(Path.Combine(ProfileWindowsDirectory, "Help"), true, "Help", true);
SaveDirectoryInfo(Path.Combine(ProfileWindowsDirectory, "Temp"), true, "Temp", true);
- CreateWindowsFile(Path.Combine(ProfileWindowsDirectory, "Calc.exe"), "Calculator");
+ CreateWindowsFile(Path.Combine(ProfileWindowsDirectory, "calc.exe"), "Calculator");
CreateWindowsFile(Path.Combine(ProfileWindowsDirectory, "explorer.exe"), "windowsexplorer");
}