OSDBuilder icon indicating copy to clipboard operation
OSDBuilder copied to clipboard

Testing wrong path in New-PEBuild function for DaRT detection

Open beanska opened this issue 5 years ago • 1 comments

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."
}

beanska avatar Oct 23 '19 15:10 beanska

Thanks, I'll address!

OSDeploy avatar Oct 29 '19 20:10 OSDeploy