diff --git a/winget-update/winget-upgrade.ps1 b/winget-update/winget-upgrade.ps1 index 371f5e5..3fb165a 100644 --- a/winget-update/winget-upgrade.ps1 +++ b/winget-update/winget-upgrade.ps1 @@ -106,7 +106,7 @@ function Get-WingetOutdated { return } - $upgradeResult = & $upgradecmd upgrade | Out-String + $upgradeResult = & $upgradecmd upgrade --accept-source-agreements | Out-String if (!($upgradeResult -match "-----")){ return