electron-updater
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -190,6 +190,6 @@ "use strict"; | ||
var _a; | ||
(_a = this.server) === null || _a === void 0 ? void 0 : _a.close(); | ||
if (this.squirrelDownloadedUpdate) { | ||
// update already fetched by Squirrel, it's ready to install | ||
this.nativeUpdater.quitAndInstall(); | ||
(_a = this.server) === null || _a === void 0 ? void 0 : _a.close(); | ||
} | ||
@@ -199,3 +199,5 @@ else { | ||
this.nativeUpdater.on("update-downloaded", () => { | ||
var _a; | ||
this.nativeUpdater.quitAndInstall(); | ||
(_a = this.server) === null || _a === void 0 ? void 0 : _a.close(); | ||
}); | ||
@@ -202,0 +204,0 @@ if (!this.autoInstallOnAppQuit) { |
{ | ||
"name": "electron-updater", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "Cross platform updater for electron applications", | ||
@@ -5,0 +5,0 @@ "main": "out/main.js", |
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
416278
3793