add # 新增对zhenxun的工作流

This commit is contained in:
2026-10-15 18:42:31 +08:00
parent ff4df9ad51
commit 24ae6102c0
32 changed files with 1769 additions and 112 deletions
+4 -1
View File
@@ -45,7 +45,10 @@ def export(root):
metadata["images"][name] = {
"size": size, "sha256": hashlib.sha256(content).hexdigest(),
}
bundle.writestr(ZipInfo(name, (2020, 1, 1, 0, 0, 0)), content)
item = ZipInfo(name, (2020, 1, 1, 0, 0, 0))
item.create_system = 3
item.external_attr = 0o100644 << 16
bundle.writestr(item, content)
return output.getvalue(), (
json.dumps(metadata, ensure_ascii=False, sort_keys=True, indent=2)
+ "\n"