Exclude extra DLLs from final build, put key DLLs in root dir
This commit is contained in:
parent
47e46e0f43
commit
0bc5ae5569
1 changed files with 11 additions and 2 deletions
13
package.json
13
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"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue