mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 20:17:03 +00:00
feat: more debug testing
This commit is contained in:
parent
3eaa86905f
commit
d2877f2cec
13 changed files with 192 additions and 18 deletions
|
|
@ -67,7 +67,7 @@ namespace PepperDash.Essentials
|
|||
{
|
||||
DeterminePlatform();
|
||||
|
||||
if (Debug.DoNotLoadOnNextBoot)
|
||||
if (Debug.DoNotLoadConfigOnNextBoot)
|
||||
{
|
||||
CrestronConsole.AddNewConsoleCommand(s => CrestronInvoke.BeginInvoke((o) => GoWithLoad()), "go", "Loads configuration file",
|
||||
ConsoleAccessLevelEnum.AccessOperator);
|
||||
|
|
@ -117,7 +117,7 @@ namespace PepperDash.Essentials
|
|||
|
||||
DeviceManager.AddDevice(new EssentialsWebApi("essentialsWebApi", "Essentials Web API"));
|
||||
|
||||
if (!Debug.DoNotLoadOnNextBoot)
|
||||
if (!Debug.DoNotLoadConfigOnNextBoot)
|
||||
{
|
||||
GoWithLoad();
|
||||
return;
|
||||
|
|
@ -235,7 +235,7 @@ namespace PepperDash.Essentials
|
|||
{
|
||||
try
|
||||
{
|
||||
Debug.SetDoNotLoadOnNextBoot(false);
|
||||
Debug.SetDoNotLoadConfigOnNextBoot(false);
|
||||
|
||||
PluginLoader.AddProgramAssemblies();
|
||||
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@
|
|||
<PackageReference Include="Newtonsoft.Json" Version="13.0.2">
|
||||
<Aliases>Full</Aliases>
|
||||
</PackageReference>
|
||||
<PackageReference Include="PepperDashCore" Version="2.0.0-alpha-366" />
|
||||
<PackageReference Include="PepperDashCore" Version="2.0.0-alpha-373" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\PepperDash.Essentials.Core\PepperDash.Essentials.Core.csproj" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue