Update winget-upgrade.ps1

pull/2/head
Romanitho 2022-01-16 20:22:15 +01:00 committed by GitHub
parent eb9d4c2beb
commit 4d7a7a8024
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -106,7 +106,8 @@ function Get-WingetOutdated {
return return
} }
$upgradeResult = & $upgradecmd upgrade --accept-source-agreements | Out-String & $upgradecmd list --accept-source-agreements
$upgradeResult = & $upgradecmd upgrade | Out-String
if (!($upgradeResult -match "-----")){ if (!($upgradeResult -match "-----")){
return return