revert: "fixme: allow huge Electron archives" (#15048)

This reverts commit f7dee77f2b.
This commit is contained in:
Alexey Kuzmin 2018-10-10 13:06:58 +02:00 committed by GitHub
parent c96847206e
commit 978d16b8ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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