(progress)
| 487 | handlebarsContext.comics = pathFiles; |
| 488 | |
| 489 | const processReadingProgress = function(progress) { |
| 490 | |
| 491 | const sha = progress.sha; |
| 492 | const thumbnail = thumbnails[sha]; |
| 493 | |
| 494 | progress.sha = sha; |
| 495 | progress.thumbnail = (thumbnail.cache) ? thumbnail.path : ''; |
| 496 | progress.mainPath = mainPath; |
| 497 | progress.pathText = returnTextPath(progress.path, mainPath, true, !progress.ebook); |
| 498 | progress.exists = fileManager.simpleExists(progress.path); |
| 499 | |
| 500 | progress.contextMenu = { |
| 501 | path: p.dirname(progress.path), |
| 502 | }; |
| 503 | |
| 504 | return progress; |
| 505 | |
| 506 | } |
| 507 | |
| 508 | // Comic reading progress |
| 509 | if(readingProgress) |
no test coverage detected