mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-24 19:56:37 +00:00
fix(windows): include local native modules in final asar (#1616)
Etcher has local native code that gets built to `build/`, but that's not being included inside the final asar. The fix is to manually add the `*.node` files inside `build/Release` by adding the appropriate wilcard to the `files` section of `electron-builder.yml`. Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
This commit is contained in:
parent
1563a2392d
commit
1d66794450
@ -6,6 +6,7 @@ nodeGypRebuild: true
|
||||
publish: null
|
||||
files:
|
||||
- lib
|
||||
- build/**/*.node
|
||||
- assets/icon.png
|
||||
- node_modules/**/*
|
||||
mac:
|
||||
|
Loading…
x
Reference in New Issue
Block a user