Update winget-upgrade.ps1
parent
bcafb585e3
commit
eb9d4c2beb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue