Update winget-upgrade.ps1

pull/2/head
Romanitho 2022-01-21 09:49:53 +01:00 committed by GitHub
parent 60121bd806
commit b32fc08551
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -66,6 +66,7 @@ function Run-NotifTask ($Title,$Message,$MessageType,$Balise) {
#Wait for notification to display #Wait for notification to display
while ((Get-ScheduledTask -TaskName "Winget Update Notify").State -ne 'Ready') { while ((Get-ScheduledTask -TaskName "Winget Update Notify").State -ne 'Ready') {
echo "Waiting on scheduled task..." echo "Waiting on scheduled task..."
Sleep 3
} }
} }
@ -300,4 +301,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"