From 1d6679445060a0e307e1e4e654a1bc1cf79f2b28 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Fri, 21 Jul 2017 09:10:46 -0300 Subject: [PATCH] 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 --- electron-builder.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/electron-builder.yml b/electron-builder.yml index 3e1d74bd..add92fdd 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -6,6 +6,7 @@ nodeGypRebuild: true publish: null files: - lib + - build/**/*.node - assets/icon.png - node_modules/**/* mac: