Hi all, I’m having issues with Electron and statics variable. I need to embed ffmpeg executables in my Quasar+Electron app.
I placed the files inside the statics folder, but I have 2 problems:
- how to make them not part of the asar archive (so that I can get a path and run the exe files), i.e. part of app.asar.unpacked
- how to reference the required path in both dev and production. I can use statics in dev mode but in production I’m getting the error “ReferenceError: __statics is not defined”. Consider that I’m checking the exe existence in a Quasar boot file.
Than you