Skip to content

Commit

Permalink
Update Edge remover behavior and explanation for 20H2
Browse files Browse the repository at this point in the history
  • Loading branch information
Fs00 committed Jan 9, 2021
1 parent 0781011 commit 736db36
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion src/MenuEntries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public override string GetExplanation()
{
return "Both Edge Chromium and legacy Edge browser will be uninstalled from the system.\n" +
"In order to be able to uninstall the latter (which gets restored once you uninstall the first), you need to make system apps removable.\n" +
"Take note that legacy Edge app may be reinstalled after any Windows cumulative update.\n" +
"Take note that both browsers may be reinstalled after any Windows cumulative update.\n" +
"Make sure that Edge Chromium is not updating itself before proceeding.";
}
public override IOperation CreateNewOperation(IUserInterface ui)
Expand Down
8 changes: 0 additions & 8 deletions src/Operations/EdgeRemover.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.IO;
using System.Linq;
using System.Threading;
using Microsoft.Win32;
using Win10BloatRemover.Utils;
using static System.Environment;
using Version = System.Version;
Expand All @@ -23,7 +22,6 @@ public EdgeRemover(IUserInterface ui, IOperation legacyEdgeRemover)
public void Run()
{
UninstallEdgeChromiumIfPresent();
BlockAutomaticUpdateToEdgeChromium();
legacyEdgeRemover.Run();
}

Expand Down Expand Up @@ -65,11 +63,5 @@ private void UninstallEdgeChromiumIfPresent()
}
return null;
}

private void BlockAutomaticUpdateToEdgeChromium()
{
ui.PrintMessage("Blocking automatic delivery of Edge Chromium via Windows Update...");
Registry.SetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EdgeUpdate", "DoNotUpdateToEdgeWithChromium", 1);
}
}
}

0 comments on commit 736db36

Please sign in to comment.