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 + 2e4f1a2 commit 25c82bfCopy full SHA for 25c82bf
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