mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
build: allow zip files to be created larger than 2GB
This commit is contained in:
@@ -52,7 +52,7 @@ 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, 'w', zipfile.ZIP_DEFLATED, True) as z:
|
||||
for dep in dist_files:
|
||||
if skip_path(dep, dist_zip, target_cpu):
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user