v1.0.48 - Updates all code that uses file paths to work on windows or linux platforms. Updates to add compatability for running on XiO Edge platform.

This commit is contained in:
Neil Dorin
2018-03-29 10:36:22 -06:00
parent ce6cecbb79
commit afa1cff0e0
9 changed files with 154 additions and 104 deletions

View File

@@ -20,7 +20,7 @@ namespace PepperDash.Essentials.Core
{
get
{
return Global.FilePathPrefix + @"IR\";
return Global.FilePathPrefix + "IR" + Global.DirectorySeparator;
}
}

View File

@@ -17,6 +17,14 @@ namespace PepperDash.Essentials.Core
public static string FilePathPrefix { get; private set; }
public static char DirectorySeparator
{
get
{
return System.IO.Path.DirectorySeparatorChar;
}
}
/// <summary>
/// Sets the file path prefix
/// </summary>