49 @return dictionary containing the data to query the presence of |
49 @return dictionary containing the data to query the presence of |
50 the executable |
50 the executable |
51 """ |
51 """ |
52 exe = 'eric6_api' |
52 exe = 'eric6_api' |
53 if Utilities.isWindowsPlatform(): |
53 if Utilities.isWindowsPlatform(): |
54 exe = os.path.join(getConfig("bindir"), exe + '.bat') |
54 exe = os.path.join(getConfig("bindir"), exe + '.cmd') |
|
55 if not os.path.exists(exe): |
|
56 exe = os.path.join(getConfig("bindir"), exe + '.bat') |
55 else: |
57 else: |
56 exe = os.path.join(getConfig("bindir"), exe) |
58 exe = os.path.join(getConfig("bindir"), exe) |
57 |
59 |
58 data = { |
60 data = { |
59 "programEntry": True, |
61 "programEntry": True, |