mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 00:06:44 -04:00
makepackage: fix regression in MakeInstaller on Windows
This commit is contained in:
parent
399797d0b1
commit
8137bea8f8
@ -1074,12 +1074,11 @@ def MakeInstallerAndroid(version, **kwargs):
|
|||||||
def MakeInstaller(version, **kwargs):
|
def MakeInstaller(version, **kwargs):
|
||||||
target = GetTarget()
|
target = GetTarget()
|
||||||
if target == 'windows':
|
if target == 'windows':
|
||||||
if kwargs.get('installdir') is None:
|
dir = kwargs.pop('installdir', None)
|
||||||
|
if dir is None:
|
||||||
dir = "C:\\Panda3D-" + version
|
dir = "C:\\Panda3D-" + version
|
||||||
if GetTargetArch() == 'x64':
|
if GetTargetArch() == 'x64':
|
||||||
dir += '-x64'
|
dir += '-x64'
|
||||||
else:
|
|
||||||
dir = kwargs['installdir']
|
|
||||||
|
|
||||||
fn = "Panda3D-"
|
fn = "Panda3D-"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user