Commit 839be0d6 authored by Torsten Grote's avatar Torsten Grote

Reset Zip versions when repacking as they keep changing as well from file to file

parent 443c3d1a
Pipeline #2288 failed with stage
in 10 minutes and 3 seconds
......@@ -53,6 +53,9 @@ def repack_apk(zip_file, new_zip_file):
if APK_SIG_FILE.match(info.filename):
continue # ignore signatures
info.extra = b'' # reset file metadata
# reset zip versions that keep changing
info.create_version = 0
info.extract_version = 0
# add file to new zip
tmp.writestr(info, f.read(info.filename))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment