mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
un-break Windows support
This commit is contained in:
parent
a16fd9f23b
commit
1d66c7c2a0
@ -3164,7 +3164,11 @@ class Packager:
|
|||||||
p3dpythonName = 'p3dpython'
|
p3dpythonName = 'p3dpython'
|
||||||
else:
|
else:
|
||||||
self.do_config(p3dpython_name=p3dpythonName)
|
self.do_config(p3dpython_name=p3dpythonName)
|
||||||
self.do_file('p3dpython.exe', newName=p3dpythonName+'.exe')
|
|
||||||
|
if self.platform.startswith('win'):
|
||||||
|
self.do_file('p3dpython.exe', newName=p3dpythonName+'.exe')
|
||||||
|
else:
|
||||||
|
self.do_file('p3dpython.exe', newName=p3dpythonName)
|
||||||
|
|
||||||
# The "Windows" executable appends a 'w' to whatever name is used
|
# The "Windows" executable appends a 'w' to whatever name is used
|
||||||
# above, unless an override name is explicitly specified.
|
# above, unless an override name is explicitly specified.
|
||||||
@ -3173,7 +3177,11 @@ class Packager:
|
|||||||
p3dpythonwName = p3dpythonName+'w'
|
p3dpythonwName = p3dpythonName+'w'
|
||||||
else:
|
else:
|
||||||
self.do_config(p3dpythonw_name=p3dpythonwName)
|
self.do_config(p3dpythonw_name=p3dpythonwName)
|
||||||
self.do_file('p3dpythonw.exe', newName=p3dpythonwName+'.exe')
|
|
||||||
|
if self.platform.startswith('win'):
|
||||||
|
self.do_file('p3dpythonw.exe', newName=p3dpythonwName+'.exe')
|
||||||
|
else:
|
||||||
|
self.do_file('p3dpythonw.exe', newName=p3dpythonwName)
|
||||||
|
|
||||||
self.do_file('libp3dpython.dll')
|
self.do_file('libp3dpython.dll')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user