Browse Source

exclude native modules from app.asar and sign them

Eugene Pankov 4 years ago
parent
commit
788dd61a13
1 changed files with 2 additions and 0 deletions
  1. 2 0
      electron-builder.yml

+ 2 - 0
electron-builder.yml

@@ -27,6 +27,8 @@ files:
 - '!**/{__pycache__,thumbs.db,.flowconfig,.idea,.vs,.nyc_output}'
 - '!**/{appveyor.yml,.travis.yml,circle.yml}'
 - '!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json'
+asarUnpack:
+- 'node_modules/**/Release/*.node'
 extraResources:
 - builtin-plugins
 - extras