Jelajahi Sumber

win64 into PROGRAMFILES64

David Rose 13 tahun lalu
induk
melakukan
4563c1e68e
1 mengubah file dengan 4 tambahan dan 1 penghapusan
  1. 4 1
      direct/src/p3d/DeploymentTools.py

+ 4 - 1
direct/src/p3d/DeploymentTools.py

@@ -1084,7 +1084,10 @@ class Installer:
         # Some global info
         print >>nsi, 'Name "%s"' % self.fullname
         print >>nsi, 'OutFile "%s"' % output.toOsSpecific()
-        print >>nsi, 'InstallDir "$PROGRAMFILES\\%s"' % self.fullname
+        if platform == 'win64':
+            print >>nsi, 'InstallDir "$PROGRAMFILES64\\%s"' % self.fullname
+        else:
+            print >>nsi, 'InstallDir "$PROGRAMFILES\\%s"' % self.fullname
         print >>nsi, 'SetCompress auto'
         print >>nsi, 'SetCompressor lzma'
         print >>nsi, 'ShowInstDetails nevershow'