mirror of
https://github.com/bestnite/bilinovel-downloader.git
synced 2025-10-28 01:31:19 +00:00
Merge pull request #2 from sarymo/patch-3
fix: normalize path separators in wrapper.go
This commit is contained in:
@@ -339,6 +339,8 @@ func addDirContentToZip(zipWriter *zip.Writer, dirPath string, method uint16) er
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
relPath = filepath.ToSlash(relPath)
|
||||||
|
|
||||||
file, err := os.Open(filePath)
|
file, err := os.Open(filePath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|||||||
Reference in New Issue
Block a user