Skip to content

Commit 25c82bf

Browse files
committed
Merge main into develop after the creation of release v2.8.0
2 parents 12235ae + 2e4f1a2 commit 25c82bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Winget-AutoUpdate/Winget-Upgrade.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ if ($true -eq $IsSystem) {
4949
Start-Process `
5050
-FilePath $ServiceUIexe `
5151
-ArgumentList "-process:explorer.exe $env:windir\System32\conhost.exe --headless powershell.exe -NoProfile -ExecutionPolicy Bypass -File winget-upgrade.ps1" `
52-
-WorkingDirectory $WorkingDir `
53-
-Wait
52+
-WorkingDirectory $WorkingDir
53+
Wait-Process "ServiceUI" -ErrorAction SilentlyContinue
5454
Exit 0
5555
}
5656
else {

0 commit comments

Comments
 (0)