Plugins - Added timeout for plugin enable

Plugins - Delete lock file even on exception, only leave it in place on crash
Plugins - Added --ignore-plugin-lock startup argument
UI - Renamed -autorun argument to --autorun
This commit is contained in:
SpoinkyNL committed 2020-06-29 23:24:49 +02:00
1 parent 40eda4fc2b
commit ac45c4d5d3
11 files changed
+56 -27

No files matched your search

+2 -1
View File
@@ -60,12 +60,13 @@ namespace Artemis.UI
{
try
{
if (StartupArguments.Contains("-autorun"))
if (StartupArguments.Contains("--autorun"))
{
logger.Information("Sleeping for 15 seconds on auto run to allow applications like iCUE and LGS to start");
await Task.Delay(TimeSpan.FromSeconds(15));
}
_core.StartupArguments = StartupArguments;
_core.Initialize();
}
catch (Exception e)