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) {
|
||||
|
@ -184,6 +183,7 @@ if (Test-Network) {
|
|||
Write-Log "User context execution not installed"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#End
|
||||
|
|
Loading…
Reference in New Issue