mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-22 02:12:30 +01:00
Fix yarn start finding the ffmpeg binary
This commit is contained in:
parent
d0a9f27f23
commit
9b1ea4b66e
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user