mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
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:
1 parent
40eda4fc2b
commit
ac45c4d5d3
11 files changed
+56
-27
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user