Support Prog32.exe stile naming in launchers
This commit is contained in:
parent
1f41a67350
commit
1ff17f4bb8
1 changed files with 2 additions and 0 deletions
|
|
@ -98,6 +98,8 @@ rem Check for 64-bit prog (if running on 64-bit system)
|
||||||
set "prog=%_path%\%L_ITEM%"
|
set "prog=%_path%\%L_ITEM%"
|
||||||
if %ARCH% equ 64 (
|
if %ARCH% equ 64 (
|
||||||
if exist "%_path%\%L_ITEM:.=64.%" set "prog=%_path%\%L_ITEM:.=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
|
if not exist "%prog%" goto ErrorProgramNotFound
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue