Skip to content

Commit b7781f5

Browse files
committed
Don't fail silently when trying to build windows distro.
1 parent f50f08d commit b7781f5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/packaging/windows_distro.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,9 @@ def create_webots_bundle(self, include_commit_file):
205205
else:
206206
INNO_SETUP_HOME = "/C/Program Files (x86)/Inno Setup 6"
207207
print('creating webots_setup.exe (takes long)\n')
208-
subprocess.run([INNO_SETUP_HOME + '/iscc', '-Q', 'webots.iss'])
208+
subprocess.run(
209+
[INNO_SETUP_HOME + "/iscc", "-Q", "webots.iss"]
210+
).check_returncode()
209211

210212
print('Done.')
211213

0 commit comments

Comments
 (0)