diff --git a/public/ffmpeg.js b/public/ffmpeg.js index 073b6065e3e..39d0b198252 100644 --- a/public/ffmpeg.js +++ b/public/ffmpeg.js @@ -26,9 +26,9 @@ function getFfPath(cmd) { const exeName = isWindows ? `${cmd}.exe` : cmd; if (customFfPath) return join(customFfPath, exeName); - + if (isDev) { - const components = ['ffmpeg']; + const components = ['ffmpeg', `${platform}-${arch}`]; if (isWindows || isLinux) components.push('lib'); components.push(exeName); return join(...components);