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