|
|
@ -1,4 +1,5 @@ |
|
|
|
using NLog; |
|
|
|
using System.Globalization; |
|
|
|
|
|
|
|
using NLog; |
|
|
|
using StabilityMatrix.Core.Extensions; |
|
|
|
using StabilityMatrix.Core.Extensions; |
|
|
|
using StabilityMatrix.Core.Helper.Factory; |
|
|
|
using StabilityMatrix.Core.Helper.Factory; |
|
|
|
using StabilityMatrix.Core.Models; |
|
|
|
using StabilityMatrix.Core.Models; |
|
|
@ -30,8 +31,8 @@ public class SharedFolders : ISharedFolders |
|
|
|
} |
|
|
|
} |
|
|
|
else |
|
|
|
else |
|
|
|
{ |
|
|
|
{ |
|
|
|
// Create directory if it doesn't exist, since CreateSymbolicLink doesn't seem to |
|
|
|
// Create parent directory if it doesn't exist, since CreateSymbolicLink doesn't seem to |
|
|
|
Directory.CreateDirectory(junctionDir); |
|
|
|
new DirectoryPath(junctionDir).Parent?.Create(); |
|
|
|
Directory.CreateSymbolicLink(junctionDir, targetDir); |
|
|
|
Directory.CreateSymbolicLink(junctionDir, targetDir); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|