From c7545e6947fa1c61825d75caf353d882fde541bc Mon Sep 17 00:00:00 2001 From: Astronand Date: Tue, 3 Mar 2026 07:31:59 -0500 Subject: [PATCH] Update build.py --- build.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/build.py b/build.py index c3bd5e4..43a9177 100644 --- a/build.py +++ b/build.py @@ -102,12 +102,7 @@ def process_root(src_root: Path, out_root: Path, minify: bool, micro: bool): if micro: print(" > LZ4 compressing") compressed = compress_lz4(content.encode("utf-8")) - # wrap in kernel.unpack if in hyperion-kernel - if pkg_dir.name == "hyperion-kernel" and dst.suffix == ".lua": - content_str = f"kernel.unpack([=[{compressed.hex()}]=])" - dst.write_text(content_str, encoding="utf-8") - else: - dst.write_bytes(compressed) + dst.write_bytes(compressed) else: dst.write_text(content, encoding="utf-8") else: