Fixed issues with using deflating compression in zipfiles.

This commit is contained in:
Joey Payne 2015-05-06 22:26:54 -06:00
commit 7444c9582b
3 changed files with 8 additions and 5 deletions

View file

@ -724,6 +724,8 @@ class CommandBase(object):
def compress_nw(self, nw_path):
compression = self.get_setting('nw_compression_level')
if compression.value == 0:
return
comp_dict = {'Darwin64bit': get_file('files/compressors/upx-mac'),
'Darwin32bit': get_file('files/compressors/upx-mac'),
'Linux64bit': get_file('files/compressors/upx-linux-x64'),