From b78d725e33bbdd22ac55a5e03acaba600038ca0b Mon Sep 17 00:00:00 2001 From: Franck Alary Date: Mon, 9 Dec 2024 11:52:21 +0100 Subject: [PATCH] RSS Store : Fix pack builder on Linux --- public/MainEvents/Processes/Store/StoreBuild.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/MainEvents/Processes/Store/StoreBuild.js b/public/MainEvents/Processes/Store/StoreBuild.js index aaa0b43..2a28369 100644 --- a/public/MainEvents/Processes/Store/StoreBuild.js +++ b/public/MainEvents/Processes/Store/StoreBuild.js @@ -161,7 +161,7 @@ function main(jsonPath) { countFiles, (index) => { process.stdout.write('*converting-images*' + (index++) + '*' + countFiles + '*') - convertCoverImage(store.cover, path.join(dstPath, 'cover.png')) + convertCoverImage(srcImages[0], path.join(dstPath, 'cover.png')) .then(() => { process.stdout.write('*writing-metadata*' + index + '*' + countFiles + '*') fs.writeFileSync(path.join(dstPath, 'nodes.json'), JSON.stringify(nodes))