Support Prog32.exe stile naming in launchers

This commit is contained in:
2Shirt 2021-10-14 20:12:34 -06:00
parent 1f41a67350
commit 1ff17f4bb8
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -98,6 +98,8 @@ rem Check for 64-bit prog (if running on 64-bit system)
set "prog=%_path%\%L_ITEM%"
if %ARCH% equ 64 (
if exist "%_path%\%L_ITEM:.=64.%" set "prog=%_path%\%L_ITEM:.=64.%"
) else (
if exist "%_path%\%L_ITEM:.=32.%" set "prog=%_path%\%L_ITEM:.=32.%"
)
if not exist "%prog%" goto ErrorProgramNotFound