Fix server check

This commit is contained in:
Calyx Hikari 2025-11-16 12:10:51 +08:00
parent c67816dcd0
commit 32c0730ee1

View file

@ -159,7 +159,7 @@ function Main {
if ($item.Name -Match "x64" -and $procArch -ne "AMD64" -and $buildVersion -lt 21390) { if ($item.Name -Match "x64" -and $procArch -ne "AMD64" -and $buildVersion -lt 21390) {
continue continue
} }
if ($item.Name -Match "directx" -and $isServer) { if ($item.Name -Match "directx" -and $dxInstallOption -eq "N") {
continue continue
} }
$line = "$($item.Url)`n out=$($item.Name)" $line = "$($item.Url)`n out=$($item.Name)"