fix(auto-update): add output to host while updating winget sources

main
Plínio Larrubia 2 years ago committed by Plínio Larrubia
parent 8d62c79b60
commit 1f5b594b8f
No known key found for this signature in database
GPG Key ID: 057B0A87CB137C69

@ -111,7 +111,7 @@ function Main() {
Remove-Item -Path "$env:TEMP\Win-DT-Logs\*" -Include "WingetDailyUpgrade_*.log"
Start-Transcript -Path "$env:TEMP\Win-DT-Logs\WingetDailyUpgrade_$(Get-Date -Format "yyyy-MM-dd_HH-mm-ss").log"
Set-ExecutionPolicy Unrestricted -Scope LocalMachine -Force # Only needed to run Winget
winget source update --disable-interactivity
winget source update --disable-interactivity | Out-Host
winget upgrade --all --silent | Out-Host
Stop-Transcript
}

Loading…
Cancel
Save