Update winget-upgrade.ps1
parent
eb9d4c2beb
commit
4d7a7a8024
|
@ -105,8 +105,9 @@ function Get-WingetOutdated {
|
|||
Write-Log "No Winget installed !"
|
||||
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