aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn/Paths.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-07-17 14:34:59 -0400
committerMichael <[email protected]>2017-07-17 14:34:59 -0400
commita0ee79dbcd26a8f07d493a7e993cbaf0d02e44db (patch)
treed974220621e6cfcfe745c2825149ca370e3a7aab /ShiftOS_TheReturn/Paths.cs
parente929a9f5105c00b0a3a2b4e75a876bbb95bbfa7b (diff)
downloadshiftos_thereturn-a0ee79dbcd26a8f07d493a7e993cbaf0d02e44db.tar.gz
shiftos_thereturn-a0ee79dbcd26a8f07d493a7e993cbaf0d02e44db.tar.bz2
shiftos_thereturn-a0ee79dbcd26a8f07d493a7e993cbaf0d02e44db.zip
Hacking, barebones fskimmer, double clicking
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>