electron-builder-squirrel-windows
Advanced tools
Comparing version 11.2.1 to 11.2.5
@@ -59,3 +59,4 @@ "use strict"; | ||
} | ||
const appInfo = _this.packager.appInfo; | ||
const packager = _this.packager; | ||
const appInfo = packager.appInfo; | ||
const version = appInfo.version; | ||
@@ -66,10 +67,10 @@ const archSuffix = (0, (_electronBuilderCore || _load_electronBuilderCore()).getArchSuffix)(arch); | ||
const distOptions = yield _this.computeEffectiveDistOptions(); | ||
yield (0, (_squirrelPack || _load_squirrelPack()).buildInstaller)(distOptions, installerOutDir, setupFileName, _this.packager, appOutDir); | ||
_this.packager.dispatchArtifactCreated(_path.join(installerOutDir, setupFileName), `${ appInfo.name }-Setup-${ version }${ archSuffix }.exe`); | ||
yield (0, (_squirrelPack || _load_squirrelPack()).buildInstaller)(distOptions, installerOutDir, setupFileName, packager, appOutDir); | ||
packager.dispatchArtifactCreated(_path.join(installerOutDir, setupFileName), _this, `${ appInfo.name }-Setup-${ version }${ archSuffix }.exe`); | ||
const packagePrefix = `${ appInfo.name }-${ (0, (_squirrelPack || _load_squirrelPack()).convertVersion)(version) }-`; | ||
_this.packager.dispatchArtifactCreated(_path.join(installerOutDir, `${ packagePrefix }full.nupkg`)); | ||
packager.dispatchArtifactCreated(_path.join(installerOutDir, `${ packagePrefix }full.nupkg`), _this); | ||
if (distOptions.remoteReleases != null) { | ||
_this.packager.dispatchArtifactCreated(_path.join(installerOutDir, `${ packagePrefix }delta.nupkg`)); | ||
packager.dispatchArtifactCreated(_path.join(installerOutDir, `${ packagePrefix }delta.nupkg`), _this); | ||
} | ||
_this.packager.dispatchArtifactCreated(_path.join(installerOutDir, "RELEASES")); | ||
packager.dispatchArtifactCreated(_path.join(installerOutDir, "RELEASES"), _this); | ||
})(); | ||
@@ -76,0 +77,0 @@ } |
{ | ||
"name": "electron-builder-squirrel-windows", | ||
"version": "11.2.1", | ||
"version": "11.2.5", | ||
"main": "out/squirrelWindows.js", | ||
@@ -14,3 +14,3 @@ "author": "Vladimir Krivosheev", | ||
"dependencies": { | ||
"electron-builder-util": "~11.2.1", | ||
"electron-builder-util": "~11.2.5", | ||
"electron-builder-core": "~11.2.1", | ||
@@ -17,0 +17,0 @@ "bluebird-lst-c": "^1.0.5", |
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
55132
410