Fix yarn start finding the ffmpeg binary

pull/1730/head
Jonathan Rubenstein 3 years ago committed by Mikael Finstad
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…
Cancel
Save