From f4f217400c71d286ef81f3b686cab451be71edcb Mon Sep 17 00:00:00 2001 From: Rishi Ghan Date: Wed, 1 Sep 2021 15:51:28 -0700 Subject: [PATCH] =?UTF-8?q?=E2=98=A2=EF=B8=8F=20Hard-coded=20the=20path=20?= =?UTF-8?q?to=20calibre?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/uncompression.utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/uncompression.utils.ts b/utils/uncompression.utils.ts index 9a63dc7..c013f95 100644 --- a/utils/uncompression.utils.ts +++ b/utils/uncompression.utils.ts @@ -89,7 +89,7 @@ export const extractCoverFromFile = async ( let result: string; const targetCoverImageFilePath = path.resolve(constructedPaths.targetPath + "/" + walkedFolder.name + "_cover.jpg") result = await calibre.run( - "ebook-meta", + `/opt/calibre/ebook-meta`, [path.resolve(constructedPaths.inputFilePath)], { getCover: targetCoverImageFilePath,