makepackage: Add warning in macOS installer about change of installdir

Closes #830
This commit is contained in:
LD
2020-01-06 09:57:34 +01:00
committed by rdb
parent ca89b7420a
commit 87a1be4d4e

View File

@@ -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')