Hide the rerun if run with ServiceUI

pull/443/head
romanitho 2023-10-21 22:30:52 +02:00
parent d03e0afc2d
commit 864f95d76a
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ function Update-WAU {
#Rerun with newer version
Write-ToLog "Re-run WAU"
Start-Process powershell -ArgumentList "-NoProfile -ExecutionPolicy Bypass -Command `"$WorkingDir\winget-upgrade.ps1`""
Start-Process powershell -ArgumentList "-NoProfile -WindowStyle Hidden -ExecutionPolicy Bypass -Command `"$WorkingDir\winget-upgrade.ps1`""
exit