Browse Source

fixme: allow huge Electron archives

Aleksei Kuzmin 6 years ago
parent
commit
f7dee77f2b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      build/zip.py

+ 2 - 1
build/zip.py

@@ -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