Skip to content

The swiss army knife of lossless video/audio editing

fix bug

Mikael Finstad18b7e9b7c305
diff --git a/public/ffmpeg.js b/public/ffmpeg.js
index 3815b57b..784a9735 100644
--- a/public/ffmpeg.js
+++ b/public/ffmpeg.js
@@ -33,7 +33,7 @@ function getFfPath(cmd) {
if (customFfPath) return join(customFfPath, exeName);
if (isDev) return join('ffmpeg', `${platform}-${arch}`, exeName);
- return join(window.process.resourcesPath, exeName);
+ return join(process.resourcesPath, exeName);
}
const getFfprobePath = () => getFfPath('ffprobe');