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
@@ -63,6 +63,7 @@ namespace Artemis.Core.Services
public TimeSpan FrameTime { get; private set; }
public bool PluginUpdatingDisabled { get; set; }
public bool ModuleRenderingDisabled { get; set; }
public List<string> StartupArguments { get; set; }
public void Dispose()
{
@@ -83,7 +84,7 @@ namespace Artemis.Core.Services
// Initialize the services
_pluginService.CopyBuiltInPlugins();
_pluginService.LoadPlugins();
_pluginService.LoadPlugins(StartupArguments.Contains("--ignore-plugin-lock"));
var surfaceConfig = _surfaceService.ActiveSurface;
if (surfaceConfig != null)