Browse Source

makepackage: Add warning in macOS installer about change of installdir

Closes #830
LD 6 years ago
parent
commit
87a1be4d4e
1 changed files with 4 additions and 0 deletions
  1. 4 0
      makepanda/makepackage.py

+ 4 - 0
makepanda/makepackage.py

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