electron-updater
Advanced tools
Comparing version 6.1.8 to 6.1.9
@@ -0,1 +1,2 @@ | ||
/// <reference path="../../../typings/electron.d.ts" /> | ||
/// <reference types="node" /> | ||
@@ -2,0 +3,0 @@ import { AllPublishOptions, CancellationToken, PublishConfiguration, UpdateInfo, DownloadOptions, ProgressInfo } from "builder-util-runtime"; |
@@ -342,3 +342,3 @@ "use strict"; | ||
if (!(await this.isUpdateAvailable(updateInfo))) { | ||
this._logger.info(`Update for version ${this.currentVersion} is not available (latest version: ${updateInfo.version}, downgrade is ${this.allowDowngrade ? "allowed" : "disallowed"}).`); | ||
this._logger.info(`Update for version ${this.currentVersion.format()} is not available (latest version: ${updateInfo.version}, downgrade is ${this.allowDowngrade ? "allowed" : "disallowed"}).`); | ||
this.emit("update-not-available", updateInfo); | ||
@@ -345,0 +345,0 @@ return { |
@@ -0,1 +1,2 @@ | ||
/// <reference path="../../../typings/electron.d.ts" /> | ||
/// <reference types="node" /> | ||
@@ -2,0 +3,0 @@ import { DownloadOptions, HttpExecutor } from "builder-util-runtime"; |
@@ -31,5 +31,7 @@ "use strict"; | ||
const tempUpdateFile = unescapedTempUpdateFile.replace(/'/g, "''"); | ||
logger.info(`Verifying signature ${tempUpdateFile}`); | ||
// https://github.com/electron-userland/electron-builder/issues/2421 | ||
// https://github.com/electron-userland/electron-builder/issues/2535 | ||
(0, child_process_1.execFile)("chcp 65001 >NUL & powershell.exe", ["-NoProfile", "-NonInteractive", "-InputFormat", "None", "-Command", `"Get-AuthenticodeSignature -LiteralPath '${tempUpdateFile}' | ConvertTo-Json -Compress"`], { | ||
// Resetting PSModulePath is necessary https://github.com/electron-userland/electron-builder/issues/7127 | ||
(0, child_process_1.execFile)(`set "PSModulePath="; chcp 65001 >NUL & powershell.exe`, ["-NoProfile", "-NonInteractive", "-InputFormat", "None", "-Command", `"Get-AuthenticodeSignature -LiteralPath '${tempUpdateFile}' | ConvertTo-Json -Compress"`], { | ||
shell: true, | ||
@@ -36,0 +38,0 @@ timeout: 20 * 1000, |
{ | ||
"name": "electron-updater", | ||
"version": "6.1.8", | ||
"version": "6.1.9", | ||
"description": "Cross platform updater for electron applications", | ||
@@ -26,3 +26,3 @@ "main": "out/main.js", | ||
"tiny-typed-emitter": "^2.1.0", | ||
"builder-util-runtime": "9.2.3" | ||
"builder-util-runtime": "9.2.4" | ||
}, | ||
@@ -29,0 +29,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
454239
4103
+ Addedbuilder-util-runtime@9.2.4(transitive)
- Removedbuilder-util-runtime@9.2.3(transitive)
Updatedbuilder-util-runtime@9.2.4