mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
keep .nsi file if nsis failed
This commit is contained in:
parent
f7353b79e7
commit
30e2c680e7
@ -1191,10 +1191,11 @@ class Installer:
|
||||
retcode = subprocess.call(cmd, shell = False)
|
||||
if retcode != 0:
|
||||
self.notify.warning("Failure invoking NSIS command.")
|
||||
else:
|
||||
nsifile.unlink()
|
||||
except OSError:
|
||||
self.notify.warning("Unable to invoke NSIS command.")
|
||||
|
||||
nsifile.unlink()
|
||||
if icofile is not None:
|
||||
icofile.unlink()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user