Skip to content

unpack/unpack-dir are broken #228

Description

@Treverix

I try to exclude node_modules/electron from the asar using this command, which I think, should do exactly this:

npx asar pack . app.asar --unpack-dir "node_modules/electron"

Now, when we look into the asar.app.unpacked folder, we find the files for node_modules/electron and also all files for all libraries like node_modules/electron* - for example, node_modules/electron-redux.

Then, when we do npx list app.asar, we see that node_modules/electron is still packaged (and the others also).

I expect, from the documentation, that it would just exclude that folder and not all, that simply start with the pattern, as that's what it says on the readme. And then, it actually does not exclude.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions