remove check for OS architecture in createPdbXmlFiles.bat

due to removal of 32-bit support it's no longer needed to check for OS
type.
This commit is contained in:
xEgoist 2022-10-24 00:19:31 -05:00
parent bea9b645a2
commit 14ef4bc4a6

View file

@ -28,14 +28,7 @@ set OS_DIR=build\os
REM create absolute path
for /f "delims=" %%i in ("%GHIDRA_DIR%") do set GHIDRA_DIR=%%~fi
REM Determine if 64-bit or 32-bit
if exist "%PROGRAMFILES(X86)%" (
set OS_TYPE=win_x86_64
) else (
set OS_TYPE=win32
)
set "PDB_EXE=%GHIDRA_DIR%\Features\PDB\%OS_DIR%\%OS_TYPE%\pdb.exe"
set "PDB_EXE=%GHIDRA_DIR%\Features\PDB\%OS_DIR%\win_x86_64\pdb.exe"
if not exist "%PDB_EXE%" (
echo "%PDB_EXE% not found"