Update wrapper.go

This commit is contained in:
sarymo
2025-09-03 08:39:30 +08:00
committed by GitHub
parent b8cd053b00
commit 434d5f54bd

View File

@@ -339,6 +339,8 @@ func addDirContentToZip(zipWriter *zip.Writer, dirPath string, method uint16) er
return err
}
relPath = filepath.ToSlash(relPath)
file, err := os.Open(filePath)
if err != nil {
return err