mirror of
https://github.com/celogeek/go-comic-converter.git
synced 2025-05-25 16:22:37 +02:00
Compare commits
2 Commits
0d74d60b3d
...
afc3355e0d
Author | SHA1 | Date | |
---|---|---|---|
afc3355e0d | |||
|
d883b9b54c |
@ -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:
|
If you have more than 1 file the output will be:
|
||||||
- ~/Download/MyComic PART_01.epub
|
- ~/Download/MyComic Part 01 of 03.epub
|
||||||
- ~/Download/MyComic PART_02.epub
|
- ~/Download/MyComic Part 02 of 03.epub
|
||||||
- ...
|
- ...
|
||||||
|
|
||||||
The ePub include as a first page:
|
The ePub include as a first page:
|
||||||
|
@ -247,7 +247,7 @@ func (e *ePub) Write() error {
|
|||||||
ext := filepath.Ext(e.Output)
|
ext := filepath.Ext(e.Output)
|
||||||
suffix := ""
|
suffix := ""
|
||||||
if totalParts > 1 {
|
if totalParts > 1 {
|
||||||
suffix = fmt.Sprintf(" PART_%02d", i+1)
|
suffix = fmt.Sprintf(" Part %02d of %02d", i+1, totalParts)
|
||||||
}
|
}
|
||||||
|
|
||||||
path := fmt.Sprintf("%s%s%s", e.Output[0:len(e.Output)-len(ext)], suffix, ext)
|
path := fmt.Sprintf("%s%s%s", e.Output[0:len(e.Output)-len(ext)], suffix, ext)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user