Skip to content

Commit

Permalink
fix oops
Browse files Browse the repository at this point in the history
  • Loading branch information
mifi committed Sep 24, 2023
1 parent 373fdaf commit ce32233
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/ffmpeg.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ function getFfPath(cmd) {
const exeName = isWindows ? `${cmd}.exe` : cmd;

if (customFfPath) return join(customFfPath, exeName);

if (isDev) {
const components = ['ffmpeg'];
const components = ['ffmpeg', `${platform}-${arch}`];
if (isWindows || isLinux) components.push('lib');
components.push(exeName);
return join(...components);
Expand Down

0 comments on commit ce32233

Please sign in to comment.