Browse Source

Hotfix 6.6

deadmoon 4 years ago
parent
commit
28791c114e
5 changed files with 10 additions and 7 deletions
  1. 3 0
      CHANGELOG.md
  2. 2 2
      Optimizer/Optimize.cs
  3. 1 1
      Optimizer/Program.cs
  4. 3 3
      README.md
  5. 1 1
      version.txt

+ 3 - 0
CHANGELOG.md

@@ -2,6 +2,9 @@
 
 
 All notable changes to this project will be documented in this file.
 All notable changes to this project will be documented in this file.
 
 
+## [6.6] - 2021-02-24
+- Hotfix: Crash when disabling Superfetch service
+
 ## [6.5] - 2021-02-23
 ## [6.5] - 2021-02-23
 - Fix: Some options not being saved when running silently
 - Fix: Some options not being saved when running silently
 - New: Added option to Disable Notification Center (for Windows 10)
 - New: Added option to Disable Notification Center (for Windows 10)

+ 2 - 2
Optimizer/Optimize.cs

@@ -248,7 +248,7 @@ namespace Optimizer
         internal static void DisableSuperfetch()
         internal static void DisableSuperfetch()
         {
         {
             Utilities.StopService("SysMain");
             Utilities.StopService("SysMain");
-            Utilities.StopService("Schedule");
+            //Utilities.StopService("Schedule");
 
 
             Registry.SetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SysMain", "Start", "4", RegistryValueKind.DWord);
             Registry.SetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SysMain", "Start", "4", RegistryValueKind.DWord);
             Registry.SetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Schedule", "Start", "4", RegistryValueKind.DWord);
             Registry.SetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Schedule", "Start", "4", RegistryValueKind.DWord);
@@ -264,7 +264,7 @@ namespace Optimizer
             Registry.SetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters", "EnablePrefetcher", "1", RegistryValueKind.DWord);
             Registry.SetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters", "EnablePrefetcher", "1", RegistryValueKind.DWord);
 
 
             Utilities.StartService("SysMain");
             Utilities.StartService("SysMain");
-            Utilities.StartService("Schedule");
+            //Utilities.StartService("Schedule");
         }
         }
 
 
         internal static void EnableCompatibilityAssistant()
         internal static void EnableCompatibilityAssistant()

+ 1 - 1
Optimizer/Program.cs

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

+ 3 - 3
README.md

@@ -48,6 +48,6 @@ https://github.com/hellzerg/optimizer/blob/master/LEGACY.md
 
 
 ## Details: ##
 ## Details: ##
 
 
-* Latest version: 6.5
-* Released: February 23, 2021
-* SHA256: 066B1F332AB5306A969686828B798CA46F9D93BD5CD44772CBF2F1D03515D851
+* Latest version: 6.6
+* Released: February 24, 2021
+* SHA256: BCE568D533A779F993B7B7450EC4407E1712A137B51850B841E855E552A12F0C

+ 1 - 1
version.txt

@@ -1 +1 @@
-6.5
+6.6