Browse Source

Hotfix 6.4

deadmoon 4 years ago
parent
commit
810b1773eb
7 changed files with 18 additions and 7 deletions
  1. 4 0
      CHANGELOG.md
  2. 1 1
      Optimizer/Optimize.cs
  3. 5 1
      Optimizer/Optimizer.csproj
  4. 1 1
      Optimizer/Program.cs
  5. 4 1
      Optimizer/Utilities.cs
  6. 2 2
      README.md
  7. 1 1
      version.txt

+ 4 - 0
CHANGELOG.md

@@ -2,6 +2,10 @@
 
 All notable changes to this project will be documented in this file.
 
+## [6.4] - 2021-02-22
+- Hotfix: Windows 7 crashing now resolved
+- Hotfix: Changed SystemResponsiveness from 0 to 1 (0 is counting as 10)
+
 ## [6.3] - 2021-02-15
 - New: Common Apps is getting the links online, no need to update the app to get new links
 - Improved: Tons of bug fixes to UI and beyond

+ 1 - 1
Optimizer/Optimize.cs

@@ -71,7 +71,7 @@ namespace Optimizer
             Registry.SetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\diagnosticshub.standardcollector.service", "Start", "4", RegistryValueKind.DWord);
             Registry.SetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\dmwappushservice", "Start", "4", RegistryValueKind.DWord);
 
-            Registry.SetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile", "SystemResponsiveness", 0, RegistryValueKind.DWord);
+            Registry.SetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile", "SystemResponsiveness", 1, RegistryValueKind.DWord);
             Registry.SetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games", "GPU Priority", 8, RegistryValueKind.DWord);
             Registry.SetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games", "Priority", 6, RegistryValueKind.DWord);
         }

+ 5 - 1
Optimizer/Optimizer.csproj

@@ -63,6 +63,11 @@
     </Reference>
     <Reference Include="System" />
     <Reference Include="System.Core" />
+    <Reference Include="System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>C:\Windows\assembly\GAC_MSIL\System.Management.Automation\1.0.0.0__31bf3856ad364e35\System.Management.Automation.dll</HintPath>
+      <Private>False</Private>
+    </Reference>
     <Reference Include="System.ServiceProcess" />
     <Reference Include="System.Xml.Linq" />
     <Reference Include="System.Data.DataSetExtensions" />
@@ -73,7 +78,6 @@
     <Reference Include="System.Net.Http" />
     <Reference Include="System.Windows.Forms" />
     <Reference Include="System.Xml" />
-    <Reference Include="System.Management.Automation" />
   </ItemGroup>
   <ItemGroup>
     <Compile Include="AboutForm.cs">

+ 1 - 1
Optimizer/Program.cs

@@ -13,7 +13,7 @@ namespace Optimizer
         // Enter current version here
 
         internal readonly static float Major = 6;
-        internal readonly static float Minor = 3;
+        internal readonly static float Minor = 4;
 
         internal static string GetCurrentVersionTostring()
         {

+ 4 - 1
Optimizer/Utilities.cs

@@ -546,7 +546,10 @@ namespace Optimizer
 
                 script.Invoke();
 
-                return script.HadErrors;
+                return script.Streams.Error.Count > 0;
+
+                // not working on Windows 7 anymore
+                //return script.HadErrors;
             }
         }
 

+ 2 - 2
README.md

@@ -44,5 +44,5 @@ https://github.com/hellzerg/optimizer/blob/master/CHANGELOG.md
 
 ## Details: ##
 
-* Latest version: 6.3
-* Released: February 15, 2021
+* Latest version: 6.4
+* Released: February 22, 2021

+ 1 - 1
version.txt

@@ -1 +1 @@
-6.3
+6.4