|
1 | 1 | diff --git a/node_modules/electron-updater/out/windowsExecutableCodeSignatureVerifier.js b/node_modules/electron-updater/out/windowsExecutableCodeSignatureVerifier.js
|
2 |
| -index 9d35ee9..ea445aa 100644 |
| 2 | +index a12ba9f..cd2f090 100644 |
3 | 3 | --- a/node_modules/electron-updater/out/windowsExecutableCodeSignatureVerifier.js
|
4 | 4 | +++ b/node_modules/electron-updater/out/windowsExecutableCodeSignatureVerifier.js
|
5 |
| -@@ -43,8 +43,7 @@ function verifySignature(publisherNames, unescapedTempUpdateFile, logger) { |
| 5 | +@@ -37,8 +37,7 @@ function verifySignature(publisherNames, unescapedTempUpdateFile, logger) { |
6 | 6 | try {
|
7 | 7 | if (error != null || stderr) {
|
8 |
| - handleError(logger, error, stderr); |
| 8 | + handleError(logger, error, stderr, reject); |
9 | 9 | - resolve(null);
|
10 | 10 | - return;
|
11 | 11 | + throw error;
|
12 | 12 | }
|
13 |
| - const data = parseOut(Buffer.from(stdout, "base64").toString("utf-8")); |
| 13 | + const data = parseOut(stdout); |
14 | 14 | if (data.Status === 0) {
|
15 |
| -@@ -75,8 +74,8 @@ function verifySignature(publisherNames, unescapedTempUpdateFile, logger) { |
| 15 | +@@ -69,8 +68,8 @@ function verifySignature(publisherNames, unescapedTempUpdateFile, logger) { |
16 | 16 | }
|
17 | 17 | catch (e) {
|
18 |
| - handleError(logger, e, null); |
| 18 | + handleError(logger, e, null, reject); |
19 | 19 | - resolve(null);
|
20 | 20 | - return;
|
21 | 21 | + logger.warn(`Cannot execute Get-AuthenticodeSignature: ${e}. Aborting update.`);
|
|
0 commit comments