OSDBuilder
OSDBuilder copied to clipboard
Testing wrong path in New-PEBuild function for DaRT detection
The path looking for DartConfig8.dat is missing the full path. Line 520 in New-PEBuild.ps1.
} elseif (Test-Path $(Join-Path $(Split-Path $WinPEDart) 'DartConfig8.dat')) {
should be
} elseif (Test-Path $(Join-Path $(Split-Path "$OSDBuilderContent\$WinPEDart") 'DartConfig8.dat')) {
there is also no final else condition to log the condition where DartConfig*.dat does not exist.
else {
Write-Warning "DartConfig.dat or DartConfig8.dat were not found. Unable to integrate."
}
Thanks, I'll address!