Plugins/PluginEricapi.py

changeset 6495
6e73d31af3af
parent 6217
35b9e03ffcd6
child 6645
ad476851d7e0
equal deleted inserted replaced
6494:72e3d61e5a20 6495:6e73d31af3af
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,

eric ide

mercurial