diff -r e143a7e7254b -r b9c8dc3b7da1 src/eric7/Tools/TrayStarter.py --- a/src/eric7/Tools/TrayStarter.py Sat Oct 01 20:06:27 2022 +0200 +++ b/src/eric7/Tools/TrayStarter.py Sun Oct 02 11:29:11 2022 +0200 @@ -26,8 +26,6 @@ import Utilities import Preferences -from eric7config import getConfig - class TrayStarter(QSystemTrayIcon): """ @@ -303,7 +301,7 @@ @param *applArgs variable list of application arguments """ proc = QProcess() - applPath = os.path.join(getConfig("ericDir"), applName) + applPath = os.path.join(os.path.dirname(__file__), "..", applName) args = [] args.append(applPath) @@ -336,7 +334,7 @@ """ Private slot to start the eric IDE. """ - self.__startProc("eric7.py") + self.__startProc("eric7_ide.py") def __startPreferences(self): """ @@ -530,7 +528,7 @@ """ filename = act.data() if filename: - self.__startProc("eric7.py", filename) + self.__startProc("eric7_ide.py", filename) def __showPreferences(self): """