From c9ca08f4d020b6b921365dff50b09c546647b96d Mon Sep 17 00:00:00 2001 From: joni <76656855+jbara2002@users.noreply.github.com> Date: Mon, 3 Oct 2022 08:51:11 +0300 Subject: [PATCH] adding removal of uwp pwa stub in edge chromium --- edge_remover.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/edge_remover.bat b/edge_remover.bat index 6c18121..da2427c 100644 --- a/edge_remover.bat +++ b/edge_remover.bat @@ -71,6 +71,7 @@ if defined edge_chromium_package_version ( echo Removing %edge_chromium_package_version%... Edge\Application\%edge_chromium_package_version%\Installer\setup.exe --uninstall --force-uninstall --msedge --system-level --verbose-logging EdgeCore\%edge_chromium_package_version%\Installer\setup.exe --uninstall --force-uninstall --msedge --system-level --verbose-logging + powershell.exe -Command "Get-AppxPackage *MicrosoftEdge* | Remove-AppxPackage" ) else ( echo Microsoft Edge [Chromium] not found, skipping. ) @@ -81,7 +82,7 @@ if defined edge_legacy_package_version ( reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\%edge_legacy_package_version%" /v Visibility /t REG_DWORD /d 1 /f reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\%edge_legacy_package_version%\Owners" /va /f dism /online /Remove-Package /PackageName:%edge_legacy_package_version% - powershell.exe -Command "Get-AppxPackage *edge* | Remove-AppxPackage" >nul + powershell.exe -Command "Get-AppxPackage *edge* | Remove-AppxPackage" ) else ( echo Microsoft Edge [Legacy/UWP] not found, skipping. )