Skip to content

Commit

Permalink
fix(get): copy ffmpeg to correct location on windows (#1044)
Browse files Browse the repository at this point in the history
* Windows FFmpeg copy was breaking because the destination path was
never set
  • Loading branch information
zkrige authored Feb 24, 2024
1 parent 6e76c0f commit 71fa4ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/get/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ async function get(options) {
if (options.platform === "linux") {
ffmpegBinaryDest = path.resolve(nwDirPath, "lib", ffmpegFileName);
} else if (options.platform === "win") {
// Extracted file is already in the correct path
ffmpegBinaryDest = path.resolve(nwDirPath, ffmpegFileName);
} else if (options.platform === "osx") {
ffmpegBinaryDest = path.resolve(
nwDirPath,
Expand Down

0 comments on commit 71fa4ab

Please sign in to comment.