☢️ Hard-coded the path to calibre

This commit is contained in:
2021-09-01 15:51:28 -07:00
parent e4ef194d04
commit f4f217400c

View File

@@ -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,