diff --git a/functions/public/Invoke-WPFButton.ps1 b/functions/public/Invoke-WPFButton.ps1 index 199d7698..7b187cc4 100644 --- a/functions/public/Invoke-WPFButton.ps1 +++ b/functions/public/Invoke-WPFButton.ps1 @@ -80,6 +80,7 @@ function Invoke-WPFButton { } } "WPFRemoveSelectedAppx" { + Get-Process -Name *widget*, *game*, dllhost | Stop-Process -Force Invoke-WPFAppxRemoval } "WPFCloseButton" {$sync.Form.Close(); Write-Host "Bye bye!"}