1
0
mirror of https://github.com/bestnite/bilinovel-downloader.git synced 2025-12-12 17:40:14 +00:00

Merge pull request #2 from sarymo/patch-3

fix: normalize path separators in wrapper.go
This commit is contained in:
2025-09-03 13:02:07 +10:00
committed by GitHub

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