mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-05-10 00:02:09 +00:00
Get rid of extra parameter
Package removal fallback fails here. Quite likely a copy from feature disablement
This commit is contained in:
parent
82b09de974
commit
c987c8235c
@ -90,7 +90,7 @@ function Microwin-RemovePackages {
|
||||
$status = "Removing package $package"
|
||||
Write-Progress -Activity "Removing Packages" -Status $status -PercentComplete ($counter++/$pkglist.Count*100)
|
||||
Write-Debug "Removing package $package"
|
||||
dism /english /image="$scratchDir" /remove-package /packagename=$package /remove /quiet /norestart | Out-Null
|
||||
dism /english /image="$scratchDir" /remove-package /packagename=$package /quiet /norestart | Out-Null
|
||||
if ($? -eq $false) {
|
||||
Write-Host "Package $package could not be removed."
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user