mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-04-12 03:57:08 +00:00
fix: update path to debug settings file
The path wasn't taking into account running on VC-4, which was causing exceptions when Essentials was running on VC-4
This commit is contained in:
parent
89c503c636
commit
4890b167ab
1 changed files with 7 additions and 2 deletions
|
|
@ -519,8 +519,13 @@ namespace PepperDash.Core
|
||||||
/// </summary>
|
/// </summary>
|
||||||
static string GetMemoryFileName()
|
static string GetMemoryFileName()
|
||||||
{
|
{
|
||||||
CheckForMigration();
|
if (CrestronEnvironment.DevicePlatform == eDevicePlatform.Appliance)
|
||||||
return string.Format(@"\user\debugSettings\program{0}", InitialParametersClass.ApplicationNumber);
|
{
|
||||||
|
CheckForMigration();
|
||||||
|
return string.Format(@"\user\debugSettings\program{0}", InitialParametersClass.ApplicationNumber);
|
||||||
|
}
|
||||||
|
|
||||||
|
return string.Format("", InitialParametersClass.RoomId);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void CheckForMigration()
|
private static void CheckForMigration()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue