Skip to content

Commit

Permalink
adding removal of uwp pwa stub in edge chromium
Browse files Browse the repository at this point in the history
  • Loading branch information
ionuttbara authored Oct 3, 2022
1 parent 8005bb2 commit c9ca08f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion edge_remover.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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.
)
Expand All @@ -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.
)
Expand Down

0 comments on commit c9ca08f

Please sign in to comment.