If !$TestWinget no need to continue?
parent
e5bc0b663c
commit
21b5fa8269
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue