aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn/Paths.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS_TheReturn/Paths.cs')
-rw-r--r--ShiftOS_TheReturn/Paths.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/ShiftOS_TheReturn/Paths.cs b/ShiftOS_TheReturn/Paths.cs
index 5827af2..0b00915 100644
--- a/ShiftOS_TheReturn/Paths.cs
+++ b/ShiftOS_TheReturn/Paths.cs
@@ -45,8 +45,8 @@ namespace ShiftOS.Engine
/// </summary>
public static void Init()
{
- Locations = new Dictionary<string, string>();
- Locations.Add("root", "0:");
+ Locations = new Dictionary<string, string>();
+ Locations.Add("root", "0:");
AddPath("root", "system");
@@ -76,7 +76,10 @@ namespace ShiftOS.Engine
CheckPathExistence();
- CreateAndMountSharedFolder();
+ if (Mounts.Count < 2)
+ {
+ CreateAndMountSharedFolder();
+ }
}
/// <summary>