Restart in hidden window
parent
ffc5d6610d
commit
c67eee3677
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue