Skip to content

Commit 95ff18f

Browse files
committed
-restart ex
1 parent 35ec161 commit 95ff18f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.Source/GTweak/Utilities/Tweaks/InterfaceTweaks.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -549,9 +549,8 @@ internal static void UseInterface(string tweak, bool isChoose)
549549
RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "TaskbarDa", 0, RegistryValueKind.DWord);
550550
RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "TaskbarMn", 0, RegistryValueKind.DWord);
551551
RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "EnableSnapAssistFlyout", 0, RegistryValueKind.DWord);
552-
552+
RestartExplorer(new Process());
553553
}
554-
555554
else if (SystemData.СomputerСonfiguration.clientWinVersion.Contains("10"))
556555
{
557556
RegistryHelp.Write(Registry.LocalMachine, @"SOFTWARE\Policies\Microsoft\Dsh", "AllowNewsAndInterests", "0", RegistryValueKind.DWord);
@@ -573,8 +572,8 @@ internal static void UseInterface(string tweak, bool isChoose)
573572
RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "TaskbarDa", 1, RegistryValueKind.DWord);
574573
RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "TaskbarMn", 1, RegistryValueKind.DWord);
575574
RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "EnableSnapAssistFlyout", 1, RegistryValueKind.DWord);
575+
RestartExplorer(new Process());
576576
}
577-
578577
else if (SystemData.СomputerСonfiguration.clientWinVersion.Contains("10"))
579578
{
580579
RegistryHelp.DeleteFolderTree(Registry.LocalMachine, @"SOFTWARE\Policies\Microsoft\Dsh");

0 commit comments

Comments
 (0)