Update winget-upgrade.ps1

pull/2/head
Romanitho 2022-01-18 10:12:34 +01:00 committed by GitHub
parent a557acb767
commit 6324a60f96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -214,7 +214,7 @@ if ($ping){
$Log | out-file -filepath $LogFile -Append $Log | out-file -filepath $LogFile -Append
#Winget upgrade #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 Sleep 3
$Log = "#--- Winget - $($app.Name) Upgrade Finished ---" $Log = "#--- Winget - $($app.Name) Upgrade Finished ---"
@ -277,4 +277,4 @@ else{
$Balise = "connection" $Balise = "connection"
Run-NotifTask $Title $Message $MessageType $Balise Run-NotifTask $Title $Message $MessageType $Balise
} }
Write-Log "End of process!" "Cyan" Write-Log "End of process!" "Cyan"