app-builder-lib
Advanced tools
Comparing version 24.6.4 to 24.6.5
@@ -131,11 +131,4 @@ "use strict"; | ||
async pack(outDir, arch, targets, taskManager) { | ||
let nonMasPromise = null; | ||
const hasMas = targets.length !== 0 && targets.some(it => it.name === "mas" || it.name === "mas-dev"); | ||
const prepackaged = this.packagerOptions.prepackaged; | ||
if (!hasMas || targets.length > 1) { | ||
const appPath = prepackaged == null ? path.join(this.computeAppOutDir(outDir, arch), `${this.appInfo.productFilename}.app`) : prepackaged; | ||
nonMasPromise = (prepackaged | ||
? Promise.resolve() | ||
: this.doPack(outDir, path.dirname(appPath), this.platform.nodeName, arch, this.platformSpecificBuildOptions, targets)).then(() => this.packageInDistributableFormat(appPath, arch, targets, taskManager)); | ||
} | ||
for (const target of targets) { | ||
@@ -161,4 +154,8 @@ const targetName = target.name; | ||
} | ||
if (nonMasPromise != null) { | ||
await nonMasPromise; | ||
if (!hasMas || targets.length > 1) { | ||
const appPath = prepackaged == null ? path.join(this.computeAppOutDir(outDir, arch), `${this.appInfo.productFilename}.app`) : prepackaged; | ||
if (prepackaged == null) { | ||
await this.doPack(outDir, path.dirname(appPath), this.platform.nodeName, arch, this.platformSpecificBuildOptions, targets); | ||
} | ||
this.packageInDistributableFormat(appPath, arch, targets, taskManager); | ||
} | ||
@@ -165,0 +162,0 @@ } |
@@ -1,1 +0,1 @@ | ||
export declare const PACKAGE_VERSION = "24.6.4"; | ||
export declare const PACKAGE_VERSION = "24.6.5"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.PACKAGE_VERSION = void 0; | ||
exports.PACKAGE_VERSION = "24.6.4"; | ||
exports.PACKAGE_VERSION = "24.6.5"; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "app-builder-lib", | ||
"description": "electron-builder lib", | ||
"version": "24.6.4", | ||
"version": "24.6.5", | ||
"main": "out/index.js", | ||
@@ -106,4 +106,4 @@ "files": [ | ||
"@types/tar": "^6.1.3", | ||
"dmg-builder": "24.6.4", | ||
"electron-builder-squirrel-windows": "24.6.4" | ||
"dmg-builder": "24.6.5", | ||
"electron-builder-squirrel-windows": "24.6.5" | ||
}, | ||
@@ -110,0 +110,0 @@ "//": "electron-builder-squirrel-windows and dmg-builder added as dev dep for tests (as otherwise `require` doesn't work using Yarn 2)", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 5 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
144
2915554
22721