Skip to content

Commit d2d08f1

Browse files
RomanithoCopilot
andauthored
Update Sources/Winget-AutoUpdate/Winget-Upgrade.ps1
Co-authored-by: Copilot <[email protected]>
1 parent 75110ef commit d2d08f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Winget-AutoUpdate/Winget-Upgrade.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ if ($true -eq $IsSystem) {
4747
if ($explorerprocesses.Count -gt 0) {
4848
Write-ToLog "Rerun WAU in system context with ServiceUI"
4949
Start-Process `
50-
-FilePath $fp3 `
50+
-FilePath $ServiceUIexe `
5151
-ArgumentList "-process:explorer.exe $env:windir\System32\conhost.exe --headless powershell.exe -NoProfile -ExecutionPolicy Bypass -File winget-upgrade.ps1" `
5252
-WorkingDirectory $WorkingDir `
5353
-Wait

0 commit comments

Comments
 (0)