diff --git a/electron/video.js b/electron/video.js index 839db7d..dcc0beb 100644 --- a/electron/video.js +++ b/electron/video.js @@ -1,6 +1,6 @@ const ffmpeg = require("fluent-ffmpeg"); const fs = require("fs"); -const ffmpegStatic = require("ffmpeg-static").path.replace("app.asar", "app.asar.unpacked"); +const ffmpegStatic = require("ffmpeg-static").replace("app.asar", "app.asar.unpacked"); ffmpeg.setFfmpegPath(ffmpegStatic);