diff --git a/winget-update/winget-upgrade.ps1 b/winget-update/winget-upgrade.ps1 index aa12b50..4313254 100644 --- a/winget-update/winget-upgrade.ps1 +++ b/winget-update/winget-upgrade.ps1 @@ -106,7 +106,10 @@ function Get-WingetOutdated { return } - & $upgradecmd list --accept-source-agreements + #Accept sources + & $upgradecmd upgrade * --accept-source-agreements | Out-Null + + #List updates $upgradeResult = & $upgradecmd upgrade | Out-String if (!($upgradeResult -match "-----")){