Update electron-updater and supply it with windows/publisherName (#1535)

This ensures that the signing certificate of any binary pulled down as
part of auto-update on Windows is in the CA chain (not self-signed) and
has the right publisherName. electron-updater also rejects any unsigned
binary when asked to check the publisherName.

FREEBIE
This commit is contained in:
Scott Nonnenberg
2017-10-04 14:05:23 -07:00
committed by GitHub
parent 8ec63e70d8
commit 0291882328
2 changed files with 45 additions and 36 deletions

View File

@@ -82,6 +82,7 @@
"asarUnpack": "node_modules/spellchecker/vendor/hunspell_dictionaries",
"artifactName": "${productName}-Setup_${version}.${ext}",
"certificateSubjectName": "Signal",
"publisherName": "Signal (Quiet Riddle Ventures, LLC)",
"icon": "build/icons/win/icon.ico",
"publish": [
{
@@ -147,7 +148,7 @@
"config": "^1.26.2",
"electron-config": "^1.0.0",
"electron-editor-context-menu": "^1.1.1",
"electron-updater": "^2.1.2",
"electron-updater": "^2.9.3",
"emoji-datasource-apple": "^3.0.0",
"emoji-js": "^3.2.2",
"lodash": "^4.17.4",