From eb9d4c2beb566500cb09b974b3fdc13db7539fb3 Mon Sep 17 00:00:00 2001 From: Romanitho <96626929+Romanitho@users.noreply.github.com> Date: Sun, 16 Jan 2022 20:16:00 +0100 Subject: [PATCH] Update winget-upgrade.ps1 --- winget-update/winget-upgrade.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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