mirror of
https://github.com/kaosat-dev/Blender_bevy_components_workflow.git
synced 2024-12-21 23:24:10 +00:00
feat(tools/internal_generate_release_zips): ensure compression (#161)
This commit is contained in:
parent
09915f521d
commit
3b7b5f28bd
@ -21,8 +21,8 @@ def zipdir(path, ziph):
|
||||
os.path.relpath(os.path.join(root, file),
|
||||
os.path.join(path, '..')))
|
||||
|
||||
with zipfile.ZipFile("bevy_components.zip", mode="w") as archive:
|
||||
with zipfile.ZipFile("bevy_components.zip", mode="w", compression=zipfile.ZIP_DEFLATED) as archive:
|
||||
zipdir('./bevy_components', archive)
|
||||
|
||||
with zipfile.ZipFile("gltf_auto_export.zip", mode="w") as archive:
|
||||
with zipfile.ZipFile("gltf_auto_export.zip", mode="w", compression=zipfile.ZIP_DEFLATED) as archive:
|
||||
zipdir('./gltf_auto_export', archive)
|
Loading…
Reference in New Issue
Block a user