mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Modules - Added activation requirements tab
Profile editor - Only override active profile with profile editor tab open
This commit is contained in:
1 parent
90383f2e41
commit
8d756128e4
12 files changed
+252
-53
No files matched your search
@@ -1,4 +1,6 @@
|
||||
using Artemis.Core.Plugins.Modules;
|
||||
using System;
|
||||
using System.IO;
|
||||
using Artemis.Core.Plugins.Modules;
|
||||
using Artemis.Core.Plugins.Modules.ActivationRequirements;
|
||||
|
||||
namespace Artemis.Plugins.Modules.Overlay
|
||||
@@ -14,6 +16,11 @@ namespace Artemis.Plugins.Modules.Overlay
|
||||
DefaultPriorityCategory = ModulePriorityCategory.Overlay;
|
||||
|
||||
ActivationRequirements.Add(new ProcessActivationRequirement("taskmgr"));
|
||||
ActivationRequirements.Add(new ProcessActivationRequirement("calc"));
|
||||
ActivationRequirements.Add(new ProcessActivationRequirement("mspaint")
|
||||
{
|
||||
Location = Path.Combine(Directory.GetParent(Environment.GetFolderPath(Environment.SpecialFolder.System)).FullName, "System32")
|
||||
});
|
||||
}
|
||||
|
||||
// This is the end of your plugin life cycle.
|
||||
|
||||
Reference in new issue
Block a user