Skip to content

Commit

Permalink
-restart ex
Browse files Browse the repository at this point in the history
  • Loading branch information
Greedeks committed Oct 25, 2024
1 parent 35ec161 commit 95ff18f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .Source/GTweak/Utilities/Tweaks/InterfaceTweaks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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");
Expand Down

0 comments on commit 95ff18f

Please sign in to comment.