Thu, 03 Jan 2013 16:17:04 +0100
Change install.py for Mac again.
install.py | file | annotate | diff | comparison | revisions |
--- a/install.py Wed Jan 02 16:58:17 2013 +0100 +++ b/install.py Thu Jan 03 16:17:04 2013 +0100 @@ -33,6 +33,7 @@ progLanguages = ["Python", "Ruby"] sourceDir = "eric" configName = 'eric5config.py' +defaultMacAppBundleName = "eric5.app" macAppBundleName = "eric5.app" macPythonExe = "{0}/Resources/Python.app/Contents/MacOS/Python".format(sys.exec_prefix) @@ -611,9 +612,11 @@ os.mkdir(dirs["exe"]) os.mkdir(dirs["icns"]) -## starter = os.path.join(dirs["exe"], "eric") -## os.symlink(macPythonExe, starter) - starter = "python3" + if macAppBundleName == defaultMacAppBundleName: + starter = os.path.join(dirs["exe"], "eric") + os.symlink(macPythonExe, starter) + else: + starter = "python3" wname = os.path.join(dirs["exe"], "eric5") path = os.getenv("PATH", "") @@ -655,6 +658,8 @@ <string>1.0</string> <key>CFBundleName</key> <string>{0}</string> + <key>CFBundleDisplayName</key> + <string>{0}</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleSignature</key>