Update winget-upgrade.ps1
parent
a557acb767
commit
6324a60f96
|
@ -214,7 +214,7 @@ if ($ping){
|
|||
$Log | out-file -filepath $LogFile -Append
|
||||
|
||||
#Winget upgrade
|
||||
& $upgradecmd upgrade -e --id $($app.Id) --accept-package-agreements --accept-source-agreements -h -o "$LogFile"
|
||||
& $upgradecmd upgrade -e --id $($app.Id) --accept-package-agreements --accept-source-agreements -h
|
||||
Sleep 3
|
||||
|
||||
$Log = "#--- Winget - $($app.Name) Upgrade Finished ---"
|
||||
|
@ -277,4 +277,4 @@ else{
|
|||
$Balise = "connection"
|
||||
Run-NotifTask $Title $Message $MessageType $Balise
|
||||
}
|
||||
Write-Log "End of process!" "Cyan"
|
||||
Write-Log "End of process!" "Cyan"
|
||||
|
|
Loading…
Reference in New Issue