Core - Added --no-plugins launch parameter, this closes #574

UI - Slightly reduced input provider CPU usage
This commit is contained in:
Robert committed 2021-08-25 13:51:20 +02:00
1 parent c71a7728c4
commit 35f27b14df
3 files changed
+15 -3

No files matched your search

@@ -199,6 +199,12 @@ namespace Artemis.Core.Services
public void LoadPlugins(List<string> startupArguments, bool isElevated)
{
if (startupArguments.Contains("--no-plugins"))
{
_logger.Warning("Artemis launched with --no-plugins, skipping the loading of plugins");
return;
}
bool ignorePluginLock = startupArguments.Contains("--ignore-plugin-lock");
bool stayElevated = startupArguments.Contains("--force-elevation");
bool droppedAdmin = startupArguments.Contains("--dropped-admin");