We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3e91bde + 285ead9 commit dcc4025Copy full SHA for dcc4025
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