Exclude extra DLLs from final build, put key DLLs in root dir

This commit is contained in:
Scott Nonnenberg 2019-05-13 16:24:00 -07:00
parent 47e46e0f43
commit 0bc5ae5569
1 changed files with 11 additions and 2 deletions

View File

@ -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"
]
}
}