diff --git a/package.json b/package.json index b71dfdc352..f825c18295 100644 --- a/package.json +++ b/package.json @@ -207,7 +207,12 @@ ], "target": [ "nsis" - ] + ], + "extraFiles": [{ + "from": "node_modules/@journeyapps/sqlcipher/build/Release/", + "to": ".", + "filter": ["msvcp140.dll", "vcruntime140.dll"] + }] }, "nsis": { "deleteAppDataOnUninstall": true @@ -285,7 +290,11 @@ "node_modules/socks/build/common/*.js", "node_modules/socks/build/client/*.js", "node_modules/smart-buffer/build/*.js", - "!node_modules/@journeyapps/sqlcipher/deps/*" + "!node_modules/@journeyapps/sqlcipher/deps/*", + "!node_modules/@journeyapps/sqlcipher/build/*", + "!node_modules/@journeyapps/sqlcipher/lib/binding/node-*", + "!node_modules/@journeyapps/sqlcipher/lib/binding/electron-*/msvcp140.dll", + "!node_modules/@journeyapps/sqlcipher/lib/binding/electron-*/vcruntime140.dll" ] } }