52 dataList = [] |
52 dataList = [] |
53 |
53 |
54 # 1. eric6_doc |
54 # 1. eric6_doc |
55 exe = 'eric6_doc' |
55 exe = 'eric6_doc' |
56 if Utilities.isWindowsPlatform(): |
56 if Utilities.isWindowsPlatform(): |
57 exe = os.path.join(getConfig("bindir"), exe + '.bat') |
57 exe = os.path.join(getConfig("bindir"), exe + '.cmd') |
|
58 if not os.path.exists(exe): |
|
59 exe = os.path.join(getConfig("bindir"), exe + '.bat') |
58 else: |
60 else: |
59 exe = os.path.join(getConfig("bindir"), exe) |
61 exe = os.path.join(getConfig("bindir"), exe) |
60 dataList.append({ |
62 dataList.append({ |
61 "programEntry": True, |
63 "programEntry": True, |
62 "header": QCoreApplication.translate( |
64 "header": QCoreApplication.translate( |