electron-builder-squirrel-windows
Advanced tools
Comparing version 18.6.0 to 18.7.0
@@ -17,3 +17,2 @@ declare module "electron-builder-squirrel-windows/out/squirrelPack" { | ||
msi?: any | ||
owners?: string | ||
description?: string | ||
@@ -20,0 +19,0 @@ iconUrl?: string |
@@ -23,3 +23,3 @@ "use strict"; | ||
const appUpdate = yield packager.getTempFile("Update.exe"); | ||
yield (_bluebirdLst2 || _load_bluebirdLst2()).default.all([(0, (_fsExtraP || _load_fsExtraP()).copy)(_path.join(options.vendorPath, "Update.exe"), appUpdate).then(function () { | ||
yield (_bluebirdLst2 || _load_bluebirdLst2()).default.all([(0, (_fs || _load_fs()).copyFile)(_path.join(options.vendorPath, "Update.exe"), appUpdate).then(function () { | ||
return packager.sign(appUpdate); | ||
@@ -46,3 +46,3 @@ }), (_bluebirdLst2 || _load_bluebirdLst2()).default.all([(0, (_fsExtraP || _load_fsExtraP()).remove)(`${outputDirectory.replace(/\\/g, "/")}/*-full.nupkg`), (0, (_fsExtraP || _load_fsExtraP()).remove)(_path.join(outputDirectory, "RELEASES"))]).then(function () { | ||
const setupPath = _path.join(outputDirectory, setupExe || `${options.name || options.productName}Setup.exe`); | ||
yield (_bluebirdLst2 || _load_bluebirdLst2()).default.all([pack(options, appOutDir, appUpdate, nupkgPath, version, packager), (0, (_fsExtraP || _load_fsExtraP()).copy)(_path.join(options.vendorPath, "Setup.exe"), setupPath)]); | ||
yield (_bluebirdLst2 || _load_bluebirdLst2()).default.all([pack(options, appOutDir, appUpdate, nupkgPath, version, packager), (0, (_fs || _load_fs()).copyFile)(_path.join(options.vendorPath, "Setup.exe"), setupPath)]); | ||
embeddedArchive.file(nupkgPath, { name: packageName }); | ||
@@ -78,3 +78,3 @@ const releaseEntry = yield releasify(options, nupkgPath, outputDirectory, packageName); | ||
archive.pipe(archiveOut); | ||
const author = options.authors || options.owners; | ||
const author = options.authors; | ||
const copyright = options.copyright || `Copyright © ${new Date().getFullYear()} ${author}`; | ||
@@ -88,3 +88,2 @@ const nuspecContent = `<?xml version="1.0"?> | ||
<authors>${author}</authors> | ||
<owners>${options.owners || options.authors}</owners> | ||
<iconUrl>${options.iconUrl}</iconUrl> | ||
@@ -205,3 +204,3 @@ <requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
const tempFile = yield packager.getTempFile("stub.exe"); | ||
yield (0, (_fs || _load_fs()).copyFile)(_path.join(vendorPath, "StubExecutable.exe"), tempFile, null, false); | ||
yield (0, (_fs || _load_fs()).copyFile)(_path.join(vendorPath, "StubExecutable.exe"), tempFile); | ||
yield (0, (_electronBuilderUtil || _load_electronBuilderUtil()).execWine)(_path.join(vendorPath, "WriteZipToSetup.exe"), ["--copy-stub-resources", file, tempFile]); | ||
@@ -208,0 +207,0 @@ yield packager.sign(tempFile); |
@@ -100,3 +100,4 @@ "use strict"; | ||
description: appInfo.description, | ||
authors: appInfo.companyName, | ||
// better to explicitly set to empty string, to avoid any nugget errors | ||
authors: appInfo.companyName || "", | ||
iconUrl: iconUrl, | ||
@@ -103,0 +104,0 @@ extraMetadataSpecs: projectUrl == null ? null : `\n <projectUrl>${projectUrl}</projectUrl>`, |
{ | ||
"name": "electron-builder-squirrel-windows", | ||
"version": "18.6.0", | ||
"version": "18.7.0", | ||
"main": "out/squirrelWindows.js", | ||
@@ -14,4 +14,4 @@ "author": "Vladimir Krivosheev", | ||
"dependencies": { | ||
"electron-builder-util": "~18.6.0", | ||
"electron-builder-core": "~18.4.0", | ||
"electron-builder-util": "~18.7.0", | ||
"electron-builder-core": "~18.7.0", | ||
"bluebird-lst": "^1.0.2", | ||
@@ -18,0 +18,0 @@ "fs-extra-p": "^4.3.0", |
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
55211
411
+ Addedelectron-builder-core@18.7.0(transitive)
+ Addedelectron-builder-http@18.7.0(transitive)
+ Addedelectron-builder-util@18.7.0(transitive)
+ Addedfcopy-pre-bundled@0.1.2(transitive)
- Removedelectron-builder-core@18.4.0(transitive)
- Removedelectron-builder-http@18.6.0(transitive)
- Removedelectron-builder-util@18.6.0(transitive)