677 macAppBundlePath, macAppBundleName), |
677 macAppBundlePath, macAppBundleName), |
678 "icns": "{0}/{1}/Contents/Resources".format( |
678 "icns": "{0}/{1}/Contents/Resources".format( |
679 macAppBundlePath, macAppBundleName) |
679 macAppBundlePath, macAppBundleName) |
680 } |
680 } |
681 os.makedirs(dirs["contents"]) |
681 os.makedirs(dirs["contents"]) |
682 os.mkdirs(dirs["exe"]) |
682 os.makedirs(dirs["exe"]) |
683 os.mkdirs(dirs["icns"]) |
683 os.makedirs(dirs["icns"]) |
684 |
684 |
685 if macAppBundleName == defaultMacAppBundleName: |
685 if macAppBundleName == defaultMacAppBundleName: |
686 starter = os.path.join(dirs["exe"], "eric") |
686 starter = os.path.join(dirs["exe"], "eric") |
687 os.symlink(macPythonExe, starter) |
687 os.symlink(macPythonExe, starter) |
688 else: |
688 else: |