Compare commits

..

No commits in common. "afc3355e0d837b85f348e493b37a3906508d595e" and "0d74d60b3d193bcf44c19321a91beb06c8d53868" have entirely different histories.

2 changed files with 3 additions and 3 deletions

View File

@ -89,8 +89,8 @@ go-comic-converter -profile KS -input ~/Download/MyComic.[CBZ,ZIP,CBR,RAR,PDF] -
```
If you have more than 1 file the output will be:
- ~/Download/MyComic Part 01 of 03.epub
- ~/Download/MyComic Part 02 of 03.epub
- ~/Download/MyComic PART_01.epub
- ~/Download/MyComic PART_02.epub
- ...
The ePub include as a first page:

View File

@ -247,7 +247,7 @@ func (e *ePub) Write() error {
ext := filepath.Ext(e.Output)
suffix := ""
if totalParts > 1 {
suffix = fmt.Sprintf(" Part %02d of %02d", i+1, totalParts)
suffix = fmt.Sprintf(" PART_%02d", i+1)
}
path := fmt.Sprintf("%s%s%s", e.Output[0:len(e.Output)-len(ext)], suffix, ext)