eugeneware / ffmpeg-static

ffmpeg static binaries for Mac OSX and Linux and Windows
GNU General Public License v3.0
1.11k stars 182 forks source link

bug: Path problem after electron packaging #140

Open TuKun33 opened 1 month ago

TuKun33 commented 1 month ago

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 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