1
0
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:
Jonathan Rubenstein 2023-09-24 02:03:30 +03:00 committed by Mikael Finstad
parent d0a9f27f23
commit 9b1ea4b66e

View File

@ -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);
}