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