--- install.py.orig	2021-02-01 04:39:39.000000000 -0500
+++ install.py	2021-02-05 20:47:49.000000000 -0500
@@ -1099,11 +1099,12 @@
         if not os.path.exists(directory):
             os.makedirs(directory)
     
-    if macPythonExe == defaultMacPythonExe and macPythonExe:
-        starter = os.path.join(directories["exe"], "eric")
-        os.symlink(macPythonExe, starter)
-    else:
-        starter = "python{0}".format(sys.version_info.major)
+##    if macPythonExe == defaultMacPythonExe and macPythonExe:
+##        starter = os.path.join(directories["exe"], "eric")
+##        os.symlink(macPythonExe, starter)
+##    else:
+##        starter = "python{0}".format(sys.version_info.major)
+    starter = "@@PYTHON_BIN_NAME@@"
     
     wname = os.path.join(directories["exe"], "eric6")
     
@@ -1129,13 +1130,15 @@
                 pathlist_n.append(path_)
         pathLine = "PATH={0}\n".format(os.pathsep.join(pathlist_n))
     
+    pydir = "@@PYTHON_PKG_DIR@@"
+    pyqt_ver = "@@PYQT_VERSION@@"
     # create the wrapper script
     wrapper = ('''#!/bin/sh\n'''
                '''\n'''
                '''{0}'''
                '''{1}'''
-               '''exec "{2}" "{3}/{4}.py" "$@"\n'''
-               .format(pathLine, dyldLine, starter, pydir, "eric6"))
+               '''exec "{2}" "{3}/{4}.py" "{5}" "$@"\n'''
+               .format(pathLine, dyldLine, starter, pydir, "eric6", pyqt_ver))
     copyToFile(wname, wrapper)
     os.chmod(wname, 0o755)                  # secok
     
