Socket
Socket
Sign inDemoInstall

electron-updater

Package Overview
Dependencies
Maintainers
2
Versions
290
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-updater - npm Package Compare versions

Comparing version 5.2.4 to 5.3.0

8

out/AppUpdater.d.ts

@@ -36,2 +36,7 @@ /// <reference types="node" />

/**
* *windows-only* Whether to run the app after finish install when run the installer NOT in silent mode.
* @default true
*/
autoRunAppAfterInstall: boolean;
/**
* *GitHub provider only.* Whether to allow update to pre-release versions. Defaults to `true` if application version contains prerelease components (e.g. `0.12.1-alpha.1`, here `alpha` is a prerelease component), otherwise `false`.

@@ -156,3 +161,4 @@ *

* @param isSilent *windows-only* Runs the installer in silent mode. Defaults to `false`.
* @param isForceRunAfter Run the app after finish even on silent install. Not applicable for macOS. Ignored if `isSilent` is set to `false`.
* @param isForceRunAfter Run the app after finish even on silent install. Not applicable for macOS.
* Ignored if `isSilent` is set to `false`(In this case you can still set `autoRunAppAfterInstall` to `false` to prevent run the app after finish).
*/

@@ -159,0 +165,0 @@ abstract quitAndInstall(isSilent?: boolean, isForceRunAfter?: boolean): void;

@@ -30,2 +30,7 @@ "use strict";

/**
* *windows-only* Whether to run the app after finish install when run the installer NOT in silent mode.
* @default true
*/
this.autoRunAppAfterInstall = true;
/**
* *GitHub provider only.* Whether to allow update to pre-release versions. Defaults to `true` if application version contains prerelease components (e.g. `0.12.1-alpha.1`, here `alpha` is a prerelease component), otherwise `false`.

@@ -32,0 +37,0 @@ *

3

out/BaseUpdater.js

@@ -13,3 +13,4 @@ "use strict";

this._logger.info(`Install on explicit quitAndInstall`);
const isInstalled = this.install(isSilent, isSilent ? isForceRunAfter : true);
// If NOT in silent mode use `autoRunAppAfterInstall` to determine whether to force run the app
const isInstalled = this.install(isSilent, isSilent ? isForceRunAfter : this.autoRunAppAfterInstall);
if (isInstalled) {

@@ -16,0 +17,0 @@ setImmediate(() => {

{
"name": "electron-updater",
"version": "5.2.4",
"version": "5.3.0",
"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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc