mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-28 05:36:34 +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
|
publish: null
|
||||||
files:
|
files:
|
||||||
- lib
|
- lib
|
||||||
|
- build/**/*.node
|
||||||
- assets/icon.png
|
- assets/icon.png
|
||||||
- node_modules/**/*
|
- node_modules/**/*
|
||||||
mac:
|
mac:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user