We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17b056e commit ff31b4fCopy full SHA for ff31b4f
Sources/Winget-AutoUpdate/Winget-Upgrade.ps1
@@ -47,7 +47,7 @@ if ($true -eq $IsSystem) {
47
if ($explorerprocesses.Count -gt 0) {
48
Write-ToLog "Rerun WAU in system context with ServiceUI"
49
Start-Process `
50
- -FilePath $fp3 `
+ -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
0 commit comments