Update winget-upgrade.ps1
parent
60121bd806
commit
b32fc08551
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue