Restart in hidden window

pull/619/head
KnifMelti 2024-04-25 17:34:34 +02:00
parent ffc5d6610d
commit c67eee3677
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ if (Test-Network) {
#If _WAU-mods.ps1 has ExitCode 1 - Re-run WAU #If _WAU-mods.ps1 has ExitCode 1 - Re-run WAU
if ($ModsExitCode -eq 1) { if ($ModsExitCode -eq 1) {
Write-ToLog "Re-run WAU" 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 Exit
} }
} }