☢️ Hard-coded the path to calibre
This commit is contained in:
@@ -89,7 +89,7 @@ export const extractCoverFromFile = async (
|
|||||||
let result: string;
|
let result: string;
|
||||||
const targetCoverImageFilePath = path.resolve(constructedPaths.targetPath + "/" + walkedFolder.name + "_cover.jpg")
|
const targetCoverImageFilePath = path.resolve(constructedPaths.targetPath + "/" + walkedFolder.name + "_cover.jpg")
|
||||||
result = await calibre.run(
|
result = await calibre.run(
|
||||||
"ebook-meta",
|
`/opt/calibre/ebook-meta`,
|
||||||
[path.resolve(constructedPaths.inputFilePath)],
|
[path.resolve(constructedPaths.inputFilePath)],
|
||||||
{
|
{
|
||||||
getCover: targetCoverImageFilePath,
|
getCover: targetCoverImageFilePath,
|
||||||
|
|||||||
Reference in New Issue
Block a user