diff --git a/CHANGELOG.md b/CHANGELOG.md index 438a408..979de1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 2.5.5 + +- fix compression method for .pext files (was LZMA is now Deflate) + ## 2.5.4 - Extensions are now published as `.pext` files and can be installed via the manifest diff --git a/scripts/build.py b/scripts/build.py index 3ed56ef..36281f1 100644 --- a/scripts/build.py +++ b/scripts/build.py @@ -90,7 +90,7 @@ def pack_plugin(plugin: str, build_output_path: str): zip_output_path = os.path.join(output_path, f"{plugin}.pext") print(f"Packing plugin {plugin} to {zip_output_path}") - with zipfile.ZipFile(zip_output_path, "w", zipfile.ZIP_LZMA) as myzip: + with zipfile.ZipFile(zip_output_path, "w", zipfile.ZIP_DEFLATED) as myzip: for root, dirs, files in os.walk(build_output_path): for file in files: myzip.write(os.path.join(root, file), file)