mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2026-07-18 01:40:49 +00:00
allow uninstallation of edge trough install tab (#4716)
* unlock edge uninstall whenever the user trys to uninstall edge trough install tab * Update Invoke-WPFUnInstall.ps1
This commit is contained in:
@@ -43,6 +43,10 @@ function Invoke-WPFUnInstall {
|
|||||||
$sync.ProcessRunning = $true
|
$sync.ProcessRunning = $true
|
||||||
Show-WPFInstallAppBusy -text "Uninstalling apps..."
|
Show-WPFInstallAppBusy -text "Uninstalling apps..."
|
||||||
|
|
||||||
|
if ($packagesWinget -contains "Microsoft.Edge") {
|
||||||
|
New-Item -Path "$Env:SystemRoot\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdge.exe" -Force
|
||||||
|
}
|
||||||
|
|
||||||
# Uninstall all selected programs in new window
|
# Uninstall all selected programs in new window
|
||||||
if($packagesWinget.Count -gt 0) {
|
if($packagesWinget.Count -gt 0) {
|
||||||
Install-WinUtilProgramWinget -Action Uninstall -Programs $packagesWinget
|
Install-WinUtilProgramWinget -Action Uninstall -Programs $packagesWinget
|
||||||
|
|||||||
Reference in New Issue
Block a user