Merge pull request #39 from PepperDash/hotfix/sgd-failover-to-embedded-resources

Closes #26.  If specified SGD file isnt' found in User/sgd directory,…
This commit is contained in:
hvolmer 2020-02-18 16:51:40 -07:00 committed by GitHub
commit 65b95006be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 5 deletions

View file

@ -26,6 +26,17 @@ namespace PepperDash.Essentials.Core
/// </summary>
public static string FilePathPrefix { get; private set; }
/// <summary>
/// The file path prefix to the applciation directory
/// </summary>
public static string ApplicationDirectoryPathPrefix
{
get
{
return Crestron.SimplSharp.CrestronIO.Directory.GetApplicationDirectory();
}
}
/// <summary>
/// Returns the directory separator character based on the running OS
/// </summary>