fixme: allow huge Electron archives

This commit is contained in:
Aleksei Kuzmin 2018-10-09 10:56:00 +02:00 committed by Jeremy Apthorp
parent a71c814d19
commit f7dee77f2b

View file

@ -41,7 +41,8 @@ def main(argv):
if sys.platform == 'darwin':
execute(['zip', '-r', '-y', dist_zip] + list(dist_files))
else:
with zipfile.ZipFile(dist_zip, 'w', zipfile.ZIP_DEFLATED) as z:
with zipfile.ZipFile(dist_zip, mode='w', compression=zipfile.ZIP_DEFLATED,
allowZip64=True) as z:
for dep in dist_files:
if skip_path(dep):
continue