1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00

Modules - Fixed an issue with ProcessActivationRequirements

This commit is contained in:
Robert 2021-06-10 22:57:36 +02:00
parent f19781bff1
commit 225b9752a8

View File

@ -50,7 +50,7 @@ namespace Artemis.Core.Modules
if (ProcessName == null && Location == null)
return false;
IEnumerable<Process> processes = _processMonitorService.GetRunningProcesses().Where(p => !p.HasExited);
IEnumerable<Process> processes = _processMonitorService.GetRunningProcesses();
if (ProcessName != null)
processes = processes.Where(p => string.Equals(p.ProcessName, ProcessName, StringComparison.InvariantCultureIgnoreCase));
if (Location != null)