From e8eb4be19bd7fe0bfa7af33b2c4de2f5ee01467a Mon Sep 17 00:00:00 2001 From: "yuanjie(qinhua)" Date: Wed, 23 Oct 2024 14:24:09 +0800 Subject: [PATCH] feat: support single file > 4GB Signed-off-by: yuanjie(qinhua) --- src/code/helper.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/code/helper.py b/src/code/helper.py index 68a8163..969e761 100644 --- a/src/code/helper.py +++ b/src/code/helper.py @@ -109,7 +109,8 @@ def write_file(self, zinfo_or_arcname, file_object, compress_type=None): zinfo.file_size = file_size # Write updated header info, Write CRC and file sizes after the file data - fmt = ' 4GB. + fmt = '