From 9b1ea4b66e0d05e28272a980b81ead7cc4d83cee Mon Sep 17 00:00:00 2001 From: Jonathan Rubenstein Date: Sun, 24 Sep 2023 02:03:30 +0300 Subject: [PATCH] Fix yarn start finding the ffmpeg binary --- public/ffmpeg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/ffmpeg.js b/public/ffmpeg.js index fdad4293..eca2fa1d 100644 --- a/public/ffmpeg.js +++ b/public/ffmpeg.js @@ -26,7 +26,7 @@ function getFfPath(cmd) { const exeName = isWindows ? `${cmd}.exe` : cmd; if (customFfPath) return join(customFfPath, exeName); - if (isDev) return join('ffmpeg', `${platform}-${arch}`, exeName); + if (isDev) return join('ffmpeg', `${platform}-${arch}/lib`, exeName); return join(process.resourcesPath, exeName); }