Skip to content

Commit

Permalink
Docs: include img-scoped packages in electron asarUnpack
Browse files Browse the repository at this point in the history
  • Loading branch information
lovell committed Jan 4, 2024
1 parent 0b18aef commit 4aacee8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions docs/install.md
Expand Up @@ -233,15 +233,18 @@ custom:

### electron

Ensure sharp is unpacked from the ASAR archive file using the
Ensure `sharp` is unpacked from the ASAR archive file using the
[asarUnpack](https://www.electron.build/configuration/configuration.html)
option.

```json
{
"build": {
"asar": true,
"asarUnpack": ["**/node_modules/sharp/**/*"]
"asarUnpack": [
"**/node_modules/sharp/**/*",
"**/node_modules/@img/**/*"
]
}
}
```
Expand Down

0 comments on commit 4aacee8

Please sign in to comment.