eric api, eric doc plug-ins: changed the executable path on non-Windows platforms.

Thu, 05 Apr 2018 19:40:07 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 05 Apr 2018 19:40:07 +0200
changeset 6217
35b9e03ffcd6
parent 6216
2a0eeba143e7
child 6218
bedab77d0fa3

eric api, eric doc plug-ins: changed the executable path on non-Windows platforms.

Plugins/PluginEricapi.py file | annotate | diff | comparison | revisions
Plugins/PluginEricdoc.py file | annotate | diff | comparison | revisions
--- a/Plugins/PluginEricapi.py	Thu Apr 05 19:39:21 2018 +0200
+++ b/Plugins/PluginEricapi.py	Thu Apr 05 19:40:07 2018 +0200
@@ -52,6 +52,8 @@
     exe = 'eric6_api'
     if Utilities.isWindowsPlatform():
         exe = os.path.join(getConfig("bindir"), exe + '.bat')
+    else:
+        exe = os.path.join(getConfig("bindir"), exe)
     
     data = {
         "programEntry": True,
--- a/Plugins/PluginEricdoc.py	Thu Apr 05 19:39:21 2018 +0200
+++ b/Plugins/PluginEricdoc.py	Thu Apr 05 19:40:07 2018 +0200
@@ -55,6 +55,8 @@
     exe = 'eric6_doc'
     if Utilities.isWindowsPlatform():
         exe = os.path.join(getConfig("bindir"), exe + '.bat')
+    else:
+        exe = os.path.join(getConfig("bindir"), exe)
     dataList.append({
         "programEntry": True,
         "header": QCoreApplication.translate(

eric ide

mercurial