Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

electron-winstaller

Package Overview
Dependencies
Maintainers
6
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-winstaller - npm Package Compare versions

Comparing version 2.6.4 to 2.7.0

vendor/Squirrel-Mono.exe

22

lib/index.js

@@ -23,4 +23,4 @@ 'use strict';

log(`Using Mono: '${ monoExe }'`);
log(`Using Wine: '${ wineExe }'`);
log(`Using Mono: '${monoExe}'`);
log(`Using Wine: '${wineExe}'`);
}

@@ -78,3 +78,3 @@

Object.assign(metadata, {
exe: `${ appMetadata.name }.exe`,
exe: `${appMetadata.name}.exe`,
title: appMetadata.productName || appMetadata.name

@@ -96,3 +96,3 @@ }, appMetadata);

metadata.version = convertVersion(metadata.version);
metadata.copyright = metadata.copyright || `Copyright © ${ new Date().getFullYear() } ${ metadata.authors || metadata.owners }`;
metadata.copyright = metadata.copyright || `Copyright © ${new Date().getFullYear()} ${metadata.authors || metadata.owners}`;

@@ -105,3 +105,3 @@ let templateData = yield fsUtils.readFile(_path2.default.join(__dirname, '..', 'template.nuspectemplate'), 'utf8');

log(`Created NuSpec file:\n${ nuspecContent }`);
log(`Created NuSpec file:\n${nuspecContent}`);

@@ -123,3 +123,3 @@ const nugetOutput = yield fsUtils.createTempDir('si-');

log((yield (0, _spawnPromise2.default)(cmd, args)));
const nupkgPath = _path2.default.join(nugetOutput, `${ metadata.name }.${ metadata.version }.nupkg`);
const nupkgPath = _path2.default.join(nugetOutput, `${metadata.name}.${metadata.version}.nupkg`);

@@ -155,3 +155,3 @@ if (remoteReleases) {

args.push('--signWithParams');
args.push(`/a /f "${ _path2.default.resolve(certificateFile) }" /p "${ certificatePassword }"`);
args.push(`/a /f "${_path2.default.resolve(certificateFile)}" /p "${certificatePassword}"`);
}

@@ -178,5 +178,5 @@

if (metadata.productName || options.setupExe) {
const setupPath = _path2.default.join(outputDirectory, options.setupExe || `${ metadata.productName }Setup.exe`);
const setupPath = _path2.default.join(outputDirectory, options.setupExe || `${metadata.productName}Setup.exe`);
const unfixedSetupPath = _path2.default.join(outputDirectory, 'Setup.exe');
log(`Renaming ${ unfixedSetupPath } => ${ setupPath }`);
log(`Renaming ${unfixedSetupPath} => ${setupPath}`);
yield fsUtils.rename(unfixedSetupPath, setupPath);

@@ -186,6 +186,6 @@ }

if (metadata.productName || options.setupMsi) {
const msiPath = _path2.default.join(outputDirectory, options.setupMsi || `${ metadata.productName }Setup.msi`);
const msiPath = _path2.default.join(outputDirectory, options.setupMsi || `${metadata.productName}Setup.msi`);
const unfixedMsiPath = _path2.default.join(outputDirectory, 'Setup.msi');
if (yield fsUtils.fileExists(unfixedMsiPath)) {
log(`Renaming ${ unfixedMsiPath } => ${ msiPath }`);
log(`Renaming ${unfixedMsiPath} => ${msiPath}`);
yield fsUtils.rename(unfixedMsiPath, msiPath);

@@ -192,0 +192,0 @@ }

@@ -28,3 +28,3 @@ 'use strict';

d(`Spawning ${ exe } ${ params.join(' ') }`);
d(`Spawning ${exe} ${params.join(' ')}`);
if (!opts) {

@@ -63,3 +63,3 @@ proc = (0, _child_process.spawn)(exe, params);

rejected = true;
reject(new Error(`Failed with exit code: ${ code }\nOutput:\n${ stdout }`));
reject(new Error(`Failed with exit code: ${code}\nOutput:\n${stdout}`));
}

@@ -66,0 +66,0 @@ });

@@ -0,0 +0,0 @@ Copyright (c) 2015 GitHub Inc.

{
"name": "electron-winstaller",
"version": "2.6.4",
"version": "2.7.0",
"description": "Module to generate Windows installers for Electron apps",

@@ -22,3 +22,3 @@ "main": "./lib/index.js",

"debug": "^2.2.0",
"fs-extra": "^0.26.7",
"fs-extra": "^2.1.2",
"lodash.template": "^4.2.2",

@@ -25,0 +25,0 @@ "temp": "^0.8.3"

@@ -60,2 +60,3 @@ # Electron Installer

| `setupIcon` | No | The ICO file to use as the icon for the generated Setup.exe |
| `skipUpdateIcon` | No | Disables setting the icon of `Update.exe`. This can solve installation errors with the following message: "This application could not be started", when the setup is built on a non-Windows system. |
| `setupExe` | No | The name to use for the generated Setup.exe file |

@@ -62,0 +63,0 @@ | `setupMsi` | No | The name to use for the generated Setup.msi file |

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

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