mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Core - Added --no-plugins launch parameter, this closes #574
UI - Slightly reduced input provider CPU usage
This commit is contained in:
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");
|
||||
|
||||
Reference in new issue
Block a user