Rework ADK detection

This commit is contained in:
CodingWonders
2025-12-24 14:59:21 +01:00
parent 7dcb0d150e
commit 49cbe45863
3 changed files with 83 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
function Microwin-TestKitsRootPaths {
param (
[Parameter(Mandatory = $true, Position = 0)] [string]$adkKitsRootPath,
[Parameter(Mandatory = $true, Position = 1)] [string]$adkKitsRootPath_WOW64Environ
)
if (Test-Path "$adkKitsRootPath") { return $true }
if (Test-Path "$adkKitsRootPath_WOW64Environ") { return $true }
return $false
}