If !$TestWinget no need to continue?

pull/219/head
KnifMelti 2022-10-26 21:58:36 +02:00
parent e5bc0b663c
commit 21b5fa8269
1 changed files with 15 additions and 15 deletions

View File

@ -165,7 +165,6 @@ if (Test-Network) {
if ($InstallOK -eq 0) {
Write-Log "No new update." "Green"
}
}
#Run WAU in user context if currently as system
if ($IsSystem) {
@ -185,6 +184,7 @@ if (Test-Network) {
}
}
}
}
#End
Write-Log "End of process!" "Cyan"