Wrong place

pull/386/head
KnifMelti 2023-09-02 19:13:10 +02:00
parent 823c5497bf
commit 6530b2d449
1 changed files with 13 additions and 12 deletions

View File

@ -177,7 +177,6 @@ if (Test-Network) {
Write-ToLog "$DeletedMods Mods deleted (not externally managed) from local path: $($WAUConfig.InstallLocation.TrimEnd(" ", "\"))\mods" "Red" Write-ToLog "$DeletedMods Mods deleted (not externally managed) from local path: $($WAUConfig.InstallLocation.TrimEnd(" ", "\"))\mods" "Red"
} }
} }
}
#Test if _WAU-mods.ps1 exist (Mods for WAU if Network is active/any Winget is installed/running as SYSTEM) #Test if _WAU-mods.ps1 exist (Mods for WAU if Network is active/any Winget is installed/running as SYSTEM)
$Mods = "$WorkingDir\mods" $Mods = "$WorkingDir\mods"
@ -193,6 +192,8 @@ if (Test-Network) {
} }
} }
}
if ($($WAUConfig.WAU_ListPath) -eq "GPO") { if ($($WAUConfig.WAU_ListPath) -eq "GPO") {
$Script:GPOList = $True $Script:GPOList = $True
} }