Add comprehensive documentation for SnapForm extension
- Created development.md for development setup and licensing information. - Added features.md detailing functionalities and usage instructions for developers and users. - Introduced index.md to serve as a navigation hub for the documentation. - Developed outputs.md to explain output formats and their specifications. - Established service.md to describe the AI Service architecture and environment setup. - Created surface.md to outline the process of converting Image Empty to perspective meshes.
This commit is contained in:
3
pack.py
3
pack.py
@@ -90,7 +90,8 @@ def _apply_tar_overlay(archive_path, overlay_dir):
|
||||
info = tarfile.TarInfo(member.name)
|
||||
info.size = overlay_file.stat().st_size
|
||||
info.mode = member.mode
|
||||
output.addfile(info, overlay_file.open("rb"))
|
||||
with overlay_file.open("rb") as overlay_stream:
|
||||
output.addfile(info, overlay_stream)
|
||||
else:
|
||||
with source.extractfile(member) as extracted:
|
||||
output.addfile(member, extracted)
|
||||
|
||||
Reference in New Issue
Block a user