--- a/src/eric7/eric7_post_install.py Sat Oct 01 20:06:27 2022 +0200 +++ b/src/eric7/eric7_post_install.py Sun Oct 02 11:29:11 2022 +0200 @@ -96,7 +96,7 @@ entriesTemplates = [ ( "eric7 (Python {0}.{1}).lnk", - os.path.join(scriptsDir, "eric7.exe"), + os.path.join(scriptsDir, "eric7_ide.exe"), os.path.join(iconsDir, "eric7.ico"), ), ( @@ -156,11 +156,12 @@ """ import eric7 + ericDir = os.path.dirname(eric7.__file__) scriptsDir = sysconfig.get_path("scripts") dstDir = os.path.join(os.path.expanduser("~"), ".local", "share") - iconsDir = os.path.join(os.path.dirname(eric7.__file__), "pixmaps") - svgIconsDir = os.path.join(os.path.dirname(eric7.__file__), "icons", "breeze-dark") - linuxDir = os.path.join(os.path.dirname(eric7.__file__), "data", "linux") + iconsDir = os.path.join(ericDir, "pixmaps") + svgIconsDir = os.path.join(ericDir, "icons", "breeze-dark") + linuxDir = os.path.join(ericDir, "data", "linux") for metaDir in ["appdata", "metainfo"]: copyMetaFile(