Skip to content

Packaging library with electron-packager under win32 #8

@TheLambdaFunction

Description

@TheLambdaFunction

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions