Update winget-upgrade.ps1

pull/2/head
Romanitho 2022-01-16 23:50:28 +01:00 committed by GitHub
parent 4d7a7a8024
commit 7189342f8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -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 "-----")){