Update winget-upgrade.ps1

pull/19/head v1.4.4
Romain 2022-02-23 10:44:40 +01:00 committed by GitHub
parent bc5a286dc7
commit 320b2ce356
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -269,7 +269,7 @@ if (Test-Network){
Start-NotifTask $Title $Message $MessageType $Balise
#Winget upgrade
Write-Log "########## WINGET UPGRADE PROCESS STARTS FOR '$($app.Name)' ##########" "Gray"
Write-Log "########## WINGET UPGRADE PROCESS STARTS FOR APPLICATION ID '$($App.Id)' ##########" "Gray"
#Run Winget Upgrade command
& $UpgradeCmd upgrade --id $($app.Id) --all --accept-package-agreements --accept-source-agreements -h | Tee-Object -file $LogFile -Append
@ -289,7 +289,7 @@ if (Test-Network){
}
}
}
Write-Log "########## WINGET UPGRADE PROCESS FINISHED FOR '$($app.Name)' ##########" "Gray"
Write-Log "########## WINGET UPGRADE PROCESS FINISHED FOR APPLICATION ID '$($App.Id)' ##########" "Gray"
#Notify installation
if ($FailedToUpgrade -eq $false){