1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-22 02:12:30 +01:00
This commit is contained in:
Mikael Finstad 2023-09-24 13:08:48 +08:00
parent 373fdaf93e
commit ce3223318e

View File

@ -26,9 +26,9 @@ function getFfPath(cmd) {
const exeName = isWindows ? `${cmd}.exe` : cmd; const exeName = isWindows ? `${cmd}.exe` : cmd;
if (customFfPath) return join(customFfPath, exeName); if (customFfPath) return join(customFfPath, exeName);
if (isDev) { if (isDev) {
const components = ['ffmpeg']; const components = ['ffmpeg', `${platform}-${arch}`];
if (isWindows || isLinux) components.push('lib'); if (isWindows || isLinux) components.push('lib');
components.push(exeName); components.push(exeName);
return join(...components); return join(...components);