Add files via upload

pull/2/head
Romanitho 2022-01-21 17:22:42 +01:00 committed by GitHub
parent 42752d02f4
commit 510c49c726
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -94,7 +94,7 @@ function Test-Network {
$Message = $NotifLocal.local.outputs.output[0].message $Message = $NotifLocal.local.outputs.output[0].message
$MessageType = "warning" $MessageType = "warning"
$Balise = "connection" $Balise = "connection"
n $Title $Message $MessageType $Balise Start-NotifTask $Title $Message $MessageType $Balise
} }
} }
return $ping return $ping
@ -227,7 +227,7 @@ if ($ping){
$Message = $NotifLocal.local.outputs.output[2].message -f $($app.Version), $($app.AvailableVersion) $Message = $NotifLocal.local.outputs.output[2].message -f $($app.Version), $($app.AvailableVersion)
$MessageType = "info" $MessageType = "info"
$Balise = $($app.Name) $Balise = $($app.Name)
n $Title $Message $MessageType $Balise Start-NotifTask $Title $Message $MessageType $Balise
#Install update #Install update
$Log = "#--- Winget - $($app.Name) Upgrade Starts ---" $Log = "#--- Winget - $($app.Name) Upgrade Starts ---"
@ -261,7 +261,7 @@ if ($ping){
$Message = $NotifLocal.local.outputs.output[3].message -f $($app.AvailableVersion) $Message = $NotifLocal.local.outputs.output[3].message -f $($app.AvailableVersion)
$MessageType = "success" $MessageType = "success"
$Balise = $($app.Name) $Balise = $($app.Name)
n $Title $Message $MessageType $Balise Start-NotifTask $Title $Message $MessageType $Balise
$InstallOK += 1 $InstallOK += 1
} }
@ -274,7 +274,7 @@ if ($ping){
$Message = $NotifLocal.local.outputs.output[4].message $Message = $NotifLocal.local.outputs.output[4].message
$MessageType = "error" $MessageType = "error"
$Balise = $($app.Name) $Balise = $($app.Name)
n $Title $Message $MessageType $Balise Start-NotifTask $Title $Message $MessageType $Balise
} }
} }
else{ else{
@ -296,6 +296,6 @@ else{
$Message = $NotifLocal.local.outputs.output[1].message $Message = $NotifLocal.local.outputs.output[1].message
$MessageType = "error" $MessageType = "error"
$Balise = "connection" $Balise = "connection"
n $Title $Message $MessageType $Balise Start-NotifTask $Title $Message $MessageType $Balise
} }
Write-Log "End of process!" "Cyan" Write-Log "End of process!" "Cyan"