From 46dc83f61cfb1e30f538200e8b6d802d60c788e2 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Wed, 18 Jul 2018 00:25:23 -0500 Subject: [PATCH 1/3] Version 1.4.122 --- DS4Windows/Properties/AssemblyInfo.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DS4Windows/Properties/AssemblyInfo.cs b/DS4Windows/Properties/AssemblyInfo.cs index b27f271..8a649c2 100644 --- a/DS4Windows/Properties/AssemblyInfo.cs +++ b/DS4Windows/Properties/AssemblyInfo.cs @@ -33,7 +33,7 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.4.121")] -[assembly: AssemblyFileVersion("1.4.121")] +[assembly: AssemblyVersion("1.4.122")] +[assembly: AssemblyFileVersion("1.4.122")] [assembly: NeutralResourcesLanguage("en")] From 04140081cef8c2cb05d743fd8a168049ab9a36d2 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Wed, 18 Jul 2018 00:56:05 -0500 Subject: [PATCH 2/3] Fixed problem when registry key does not exist --- DS4Windows/DS4Control/ControlService.cs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/DS4Windows/DS4Control/ControlService.cs b/DS4Windows/DS4Control/ControlService.cs index 8c6d7fc..2fddee8 100644 --- a/DS4Windows/DS4Control/ControlService.cs +++ b/DS4Windows/DS4Control/ControlService.cs @@ -87,7 +87,16 @@ namespace DS4Windows public void ScanPurgeHidGuard() { RegistryKey tempkey = Registry.LocalMachine.OpenSubKey(@"SYSTEM\CurrentControlSet\Services\HidGuardian\Parameters\Whitelist"); - string[] subkeys = tempkey.GetSubKeyNames(); + string[] subkeys = null; + if (tempkey != null) + { + subkeys = tempkey.GetSubKeyNames(); + } + else + { + subkeys = new string[0]; + } + bool processExists = false; for (int ind = 0, arlen = subkeys.Length; ind < arlen; ind++) { From 9a17500100ae0c8d70189be380e767d9edf311da Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Wed, 18 Jul 2018 00:58:16 -0500 Subject: [PATCH 3/3] Version 1.4.123 --- DS4Windows/Properties/AssemblyInfo.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DS4Windows/Properties/AssemblyInfo.cs b/DS4Windows/Properties/AssemblyInfo.cs index 8a649c2..628a800 100644 --- a/DS4Windows/Properties/AssemblyInfo.cs +++ b/DS4Windows/Properties/AssemblyInfo.cs @@ -33,7 +33,7 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.4.122")] -[assembly: AssemblyFileVersion("1.4.122")] +[assembly: AssemblyVersion("1.4.123")] +[assembly: AssemblyFileVersion("1.4.123")] [assembly: NeutralResourcesLanguage("en")]