electron / electron/asar

unpack/unpack-dir are broken

Open
#228 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.9k
Forks
265
Avg merge
3h 52m
Merged PRs (30d)
5

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.