Update Update-WAU.ps1
parent
8b70447f69
commit
5a85b7433c
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue