From ce3223318e848c067ee53a3888f327fbf56f9740 Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Sun, 24 Sep 2023 13:08:48 +0800 Subject: [PATCH] fix oops --- public/ffmpeg.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/ffmpeg.js b/public/ffmpeg.js index 073b6065..39d0b198 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);