From 95ff18f44f0ad00d50148045834307f782f419af Mon Sep 17 00:00:00 2001 From: Greedeks Date: Fri, 25 Oct 2024 19:53:07 +0300 Subject: [PATCH] -restart ex --- .Source/GTweak/Utilities/Tweaks/InterfaceTweaks.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.Source/GTweak/Utilities/Tweaks/InterfaceTweaks.cs b/.Source/GTweak/Utilities/Tweaks/InterfaceTweaks.cs index 8878496..e3df2f7 100644 --- a/.Source/GTweak/Utilities/Tweaks/InterfaceTweaks.cs +++ b/.Source/GTweak/Utilities/Tweaks/InterfaceTweaks.cs @@ -549,9 +549,8 @@ internal static void UseInterface(string tweak, bool isChoose) RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "TaskbarDa", 0, RegistryValueKind.DWord); RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "TaskbarMn", 0, RegistryValueKind.DWord); RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "EnableSnapAssistFlyout", 0, RegistryValueKind.DWord); - + RestartExplorer(new Process()); } - else if (SystemData.СomputerСonfiguration.clientWinVersion.Contains("10")) { RegistryHelp.Write(Registry.LocalMachine, @"SOFTWARE\Policies\Microsoft\Dsh", "AllowNewsAndInterests", "0", RegistryValueKind.DWord); @@ -573,8 +572,8 @@ internal static void UseInterface(string tweak, bool isChoose) RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "TaskbarDa", 1, RegistryValueKind.DWord); RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "TaskbarMn", 1, RegistryValueKind.DWord); RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "EnableSnapAssistFlyout", 1, RegistryValueKind.DWord); + RestartExplorer(new Process()); } - else if (SystemData.СomputerСonfiguration.clientWinVersion.Contains("10")) { RegistryHelp.DeleteFolderTree(Registry.LocalMachine, @"SOFTWARE\Policies\Microsoft\Dsh");