From 7909e576205a4836668c08b3025c77b92b41d0fa Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Tue, 21 Nov 2017 03:30:41 -0600 Subject: [PATCH] Write HidGuardian whitelist key when application is started Will fail silently if not run as admin --- DS4Windows/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DS4Windows/Program.cs b/DS4Windows/Program.cs index 103ae44..8436793 100644 --- a/DS4Windows/Program.cs +++ b/DS4Windows/Program.cs @@ -104,12 +104,12 @@ namespace DS4Windows //if (mutex.WaitOne(TimeSpan.Zero, true)) //{ createControlService(); - //rootHub.createHidGuardKey(); + rootHub.createHidGuardKey(); //rootHub = new ControlService(); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new DS4Form(args)); - //rootHub.removeHidGuardKey(); + rootHub.removeHidGuardKey(); //mutex.ReleaseMutex(); //}