We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 12235ae + 0c64a8e commit 7559057Copy full SHA for 7559057
Sources/Winget-AutoUpdate/Winget-Upgrade.ps1
@@ -49,8 +49,8 @@ if ($true -eq $IsSystem) {
49
Start-Process `
50
-FilePath $ServiceUIexe `
51
-ArgumentList "-process:explorer.exe $env:windir\System32\conhost.exe --headless powershell.exe -NoProfile -ExecutionPolicy Bypass -File winget-upgrade.ps1" `
52
- -WorkingDirectory $WorkingDir `
53
- -Wait
+ -WorkingDirectory $WorkingDir
+ Wait-Process "ServiceUI" -ErrorAction SilentlyContinue
54
Exit 0
55
}
56
else {
0 commit comments