|
|
@@ -730,6 +730,10 @@ def MakeInstallerOSX(version, runtime=False, python_versions=[], installdir=None
|
|
|
dist.write(' <title>Panda3D SDK %s</title>\n' % (version))
|
|
|
dist.write(' <options customize="always" allow-external-scripts="no" rootVolumeOnly="false"/>\n')
|
|
|
dist.write(' <license language="en" mime-type="text/plain">%s</license>\n' % ReadFile("doc/LICENSE"))
|
|
|
+ dist.write(' <readme language="en" mime-type="text/plain">')
|
|
|
+ dist.write('WARNING: From Panda3D version 1.10.5 onwards, the default installation has been changed from /Developer/Panda3D to /Library/Developer/Panda3D\n')
|
|
|
+ dist.write('This installation script will remove any existing installation in /Developer and if possible create a symbolic link towards /Library/Developer/Panda3D\n')
|
|
|
+ dist.write(' </readme>')
|
|
|
dist.write(' <script>\n')
|
|
|
dist.write(' function isPythonVersionInstalled(version) {\n')
|
|
|
dist.write(' return system.files.fileExistsAtPath("/usr/bin/python" + version)\n')
|