зеркало из https://github.com/electron/electron.git
build: allow zip files to be created larger than 2GB
This commit is contained in:
Родитель
515c927b14
Коммит
30448bb1b8
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче