electron-builder-squirrel-windows
Advanced tools
Comparing version 19.7.0 to 19.7.2
declare module "electron-builder-squirrel-windows/out/squirrelPack" { | ||
import { Arch } from "electron-builder" | ||
import { WinPackager } from "electron-builder/out/winPackager" | ||
@@ -24,3 +25,3 @@ | ||
export function buildInstaller(options: SquirrelOptions, outputDirectory: string, setupExe: string, packager: WinPackager, appOutDir: string): Promise<void> | ||
export function buildInstaller(options: SquirrelOptions, outputDirectory: string, setupExe: string, packager: WinPackager, appOutDir: string, outDir: string, arch: Arch): Promise<void> | ||
} | ||
@@ -27,0 +28,0 @@ |
@@ -21,3 +21,3 @@ "use strict"; | ||
let buildInstaller = exports.buildInstaller = (() => { | ||
var _ref = (0, (_bluebirdLst || _load_bluebirdLst()).coroutine)(function* (options, outputDirectory, setupExe, packager, appOutDir) { | ||
var _ref = (0, (_bluebirdLst || _load_bluebirdLst()).coroutine)(function* (options, outputDirectory, setupExe, packager, appOutDir, outDir, arch) { | ||
const appUpdate = yield packager.getTempFile("Update.exe"); | ||
@@ -53,3 +53,3 @@ yield (_bluebirdLst2 || _load_bluebirdLst2()).default.all([(0, (_fs || _load_fs()).copyFile)(_path.join(options.vendorPath, "Update.exe"), appUpdate).then(function () { | ||
yield (0, (_wine || _load_wine()).execWine)(_path.join(options.vendorPath, "WriteZipToSetup.exe"), [setupPath, embeddedArchiveFile]); | ||
yield packager.signAndEditResources(setupPath); | ||
yield packager.signAndEditResources(setupPath, arch, outDir); | ||
if (options.msi && process.platform === "win32") { | ||
@@ -63,3 +63,3 @@ const outFile = setupExe.replace(".exe", ".msi"); | ||
return function buildInstaller(_x, _x2, _x3, _x4, _x5) { | ||
return function buildInstaller(_x, _x2, _x3, _x4, _x5, _x6, _x7) { | ||
return _ref.apply(this, arguments); | ||
@@ -134,3 +134,3 @@ }; | ||
return function pack(_x6, _x7, _x8, _x9, _x10, _x11) { | ||
return function pack(_x8, _x9, _x10, _x11, _x12, _x13) { | ||
return _ref2.apply(this, arguments); | ||
@@ -159,3 +159,3 @@ }; | ||
return function releasify(_x12, _x13, _x14, _x15) { | ||
return function releasify(_x14, _x15, _x16, _x17) { | ||
return _ref3.apply(this, arguments); | ||
@@ -183,3 +183,3 @@ }; | ||
return function msi(_x16, _x17, _x18, _x19, _x20) { | ||
return function msi(_x18, _x19, _x20, _x21, _x22) { | ||
return _ref4.apply(this, arguments); | ||
@@ -218,3 +218,3 @@ }; | ||
return function (_x26, _x27) { | ||
return function (_x28, _x29) { | ||
return _ref6.apply(this, arguments); | ||
@@ -226,3 +226,3 @@ }; | ||
return function encodedZip(_x21, _x22, _x23, _x24, _x25) { | ||
return function encodedZip(_x23, _x24, _x25, _x26, _x27) { | ||
return _ref5.apply(this, arguments); | ||
@@ -229,0 +229,0 @@ }; |
@@ -66,3 +66,3 @@ "use strict"; | ||
const distOptions = yield _this.computeEffectiveDistOptions(); | ||
yield (0, (_squirrelPack || _load_squirrelPack()).buildInstaller)(distOptions, installerOutDir, setupFileName, packager, appOutDir); | ||
yield (0, (_squirrelPack || _load_squirrelPack()).buildInstaller)(distOptions, installerOutDir, setupFileName, packager, appOutDir, _this.outDir, arch); | ||
packager.dispatchArtifactCreated(_path.join(installerOutDir, setupFileName), _this, arch, `${appInfo.name}-Setup-${version}${archSuffix}.exe`); | ||
@@ -69,0 +69,0 @@ const packagePrefix = `${appInfo.name}-${(0, (_squirrelPack || _load_squirrelPack()).convertVersion)(version)}-`; |
{ | ||
"name": "electron-builder-squirrel-windows", | ||
"version": "19.7.0", | ||
"version": "19.7.2", | ||
"main": "out/squirrelWindows.js", | ||
@@ -14,3 +14,3 @@ "author": "Vladimir Krivosheev", | ||
"dependencies": { | ||
"electron-builder-util": "~19.7.0", | ||
"electron-builder-util": "~19.7.2", | ||
"bluebird-lst": "^1.0.2", | ||
@@ -21,5 +21,5 @@ "fs-extra-p": "^4.3.0", | ||
"peerDependencies": { | ||
"electron-builder": "~19.7.0" | ||
"electron-builder": "~19.7.2" | ||
}, | ||
"typings": "./out/electron-builder-squirrel-windows.d.ts" | ||
} |
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
55994
411