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:
Juan Cruz Viotti 2017-07-21 09:10:46 -03:00 committed by GitHub
parent 1563a2392d
commit 1d66794450

View File

@ -6,6 +6,7 @@ nodeGypRebuild: true
publish: null
files:
- lib
- build/**/*.node
- assets/icon.png
- node_modules/**/*
mac: