mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-22 02:12:30 +01:00
fix oops
This commit is contained in:
parent
373fdaf93e
commit
ce3223318e
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user