mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
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:
parent
ce6cecbb79
commit
afa1cff0e0
9 changed files with 154 additions and 104 deletions
|
|
@ -20,7 +20,7 @@ namespace PepperDash.Essentials.Core
|
|||
{
|
||||
get
|
||||
{
|
||||
return Global.FilePathPrefix + @"IR\";
|
||||
return Global.FilePathPrefix + "IR" + Global.DirectorySeparator;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue