Hello again 😆 ,
I've found out that current versions of electron-packager and electron-asar have a rule that does not allow execution of binaries shipped in the ASAR file. This unfortunately break the win32 side of this library.
The solution/workaround is to configure electron-packager to unpack the contents of the easy-volume library aside the final executable.
Something like this:
--asar.unpack '**/easy-volume/dist/platforms/windows/**'
Also, because this argument is not supported when passed from command line (at least that's what I've seen so far) one is forced to create a JS script file and use that to invoke the electron-packager APIs accordingly.
Not sure if there's anything you can do on your side of things, I just wanted to point this out and leave a trace for the developers stumbling on this issue
Hello again 😆 ,
I've found out that current versions of
electron-packagerandelectron-asarhave a rule that does not allow execution of binaries shipped in the ASAR file. This unfortunately break thewin32side of this library.The solution/workaround is to configure
electron-packagerto unpack the contents of theeasy-volumelibrary aside the final executable.Something like this:
--asar.unpack '**/easy-volume/dist/platforms/windows/**'Also, because this argument is not supported when passed from command line (at least that's what I've seen so far) one is forced to create a JS script file and use that to invoke the
electron-packagerAPIs accordingly.Not sure if there's anything you can do on your side of things, I just wanted to point this out and leave a trace for the developers stumbling on this issue