aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/Program.cs
diff options
context:
space:
mode:
authorAlex-TIMEHACK <[email protected]>2017-07-22 16:40:49 +0100
committerAlex-TIMEHACK <[email protected]>2017-07-22 16:40:49 +0100
commitcf4609d054ee554d7503c42322f9129f7423c4e4 (patch)
tree2d6c46a249b84994af9fc0f514b3425f4808f1e0 /TimeHACK.Main/Program.cs
parent46eb239008fc30830b026b5eedc7da036d14d3f2 (diff)
downloadhistacom2-cf4609d054ee554d7503c42322f9129f7423c4e4.tar.gz
histacom2-cf4609d054ee554d7503c42322f9129f7423c4e4.tar.bz2
histacom2-cf4609d054ee554d7503c42322f9129f7423c4e4.zip
Fixed bugs, added features
Diffstat (limited to 'TimeHACK.Main/Program.cs')
-rw-r--r--TimeHACK.Main/Program.cs10
1 files changed, 7 insertions, 3 deletions
diff --git a/TimeHACK.Main/Program.cs b/TimeHACK.Main/Program.cs
index 86f1a54..cba20d6 100644
--- a/TimeHACK.Main/Program.cs
+++ b/TimeHACK.Main/Program.cs
@@ -67,9 +67,13 @@ namespace TimeHACK
public static string OpenFileExplorerAsDialogAndReturnGivenPath()
{
- Win95WindowsExplorer we = new Win95WindowsExplorer();
-
- WinClassic app = wm.StartWin95(we, "Windows Explorer", Properties.Resources.WinClassicFileExplorer, true, true, true);
+ if (SaveSystem.CurrentSave.CurrentOS == "95")
+ {
+ WinClassic app = wm.StartWin95(new Win95WindowsExplorer(), "Windows Explorer", Properties.Resources.WinClassicFileExplorer, true, true, true);
+ } else {
+ WinClassic app = wm.StartWin95(new WinClassicWindowsExplorer(), "Windows Explorer", Properties.Resources.WinClassicFileExplorer, true, true, true);
+ }
+
try
{
return WindowsExplorerReturnPath;