Update Update-WAU.ps1

pull/29/head
Romain 2022-03-21 23:37:39 +01:00 committed by GitHub
parent 8b70447f69
commit 5a85b7433c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ function Update-WAU{
Start-NotifTask $Title $Message $MessageType $Balise
#Rerun with newer version
Write-Log "Re-run WAU"
Write-Log "Re-run WAU"
Start-Process powershell -ArgumentList "-ExecutionPolicy Bypass -Command `"$WorkingDir\winget-upgrade`""
exit
}
@ -63,4 +63,4 @@ function Update-WAU{
Start-NotifTask $Title $Message $MessageType $Balise
Write-Log "WAU Update failed"
}
}
}