Update winget-upgrade.ps1
parent
eb9d4c2beb
commit
4d7a7a8024
|
@ -106,7 +106,8 @@ function Get-WingetOutdated {
|
|||
return
|
||||
}
|
||||
|
||||
$upgradeResult = & $upgradecmd upgrade --accept-source-agreements | Out-String
|
||||
& $upgradecmd list --accept-source-agreements
|
||||
$upgradeResult = & $upgradecmd upgrade | Out-String
|
||||
|
||||
if (!($upgradeResult -match "-----")){
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue