mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
fixme: allow huge Electron archives
This commit is contained in:
committed by
Jeremy Apthorp
parent
a71c814d19
commit
f7dee77f2b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user