Open TuKun33 opened 1 month ago
ffmpeg-static@5.2.0
20.12.2
ex.
After electron-builder packaging, the path returned by require('ffmpeg static') is in resources/app.asar/, but i cannot access the binary files in app.asar. I can only manually replace app.asar with app.asar.unpacked
require('ffmpeg static')
resources/app.asar/
app.asar
app.asar.unpacked
ffmpeg-static version
ffmpeg-static@5.2.0
Node.js version
20.12.2
operating system and/or environment
ex.
What happened?
After electron-builder packaging, the path returned by
require('ffmpeg static')
is inresources/app.asar/
, but i cannot access the binary files inapp.asar
. I can only manually replaceapp.asar
withapp.asar.unpacked