fix: add metadata parsed from cbz zip comment, closes #639 (#688)

This commit is contained in:
Huang Xin
2025-03-24 01:18:08 +08:00
committed by GitHub
parent 14f2db730a
commit d098487cd1
6 changed files with 53 additions and 21 deletions
@@ -198,6 +198,9 @@ export abstract class BaseAppService implements AppService {
if (!existingBook) {
await this.saveBookConfig(book, INIT_BOOK_CONFIG);
books.splice(0, 0, book);
} else {
existingBook.title = book.title;
existingBook.author = book.author;
}
if (typeof file === 'string' && isValidURL(file)) {