app-builder-lib
Advanced tools
Comparing version 24.9.0 to 24.9.1
@@ -280,3 +280,3 @@ "use strict"; | ||
if (!isMas) { | ||
await this.notarizeIfProvided(appPath); | ||
await this.notarizeIfProvided(appPath, options); | ||
} | ||
@@ -407,6 +407,6 @@ return true; | ||
} | ||
async notarizeIfProvided(appPath) { | ||
const notarizeOptions = this.platformSpecificBuildOptions.notarize; | ||
if (notarizeOptions === false) { | ||
builder_util_1.log.info({ reason: "`notarizeOptions` is explicitly set to false" }, "skipped macOS notarization"); | ||
async notarizeIfProvided(appPath, buildOptions) { | ||
const notarizeOptions = buildOptions.notarize; | ||
if (!notarizeOptions) { | ||
builder_util_1.log.info({ reason: "`notarize` options were not provided" }, "skipped macOS notarization"); | ||
return; | ||
@@ -425,3 +425,3 @@ } | ||
// option 1: app specific password | ||
if (appleId || !appleIdPassword) { | ||
if (appleId || appleIdPassword) { | ||
if (!appleId) { | ||
@@ -428,0 +428,0 @@ throw new builder_util_1.InvalidConfigurationError(`APPLE_ID env var needs to be set`); |
@@ -178,3 +178,3 @@ import { PlatformSpecificBuildOptions, TargetConfiguration, TargetSpecificOptions } from "../index"; | ||
* | ||
* Note: You MUST specify `APPLE_ID` and `APPLE_APP_SPECIFIC_PASSWORD` via environment variables to activate notarization step | ||
* Note: In order to activate the notarization step You MUST specify one of the following via environment variables:\n1. `APPLE_API_KEY`, `APPLE_API_KEY_ID` and `APPLE_API_ISSUER`\n2. `APPLE_ID` and `APPLE_APP_SPECIFIC_PASSWORD`\n3. `APPLE_KEYCHAIN` and `APPLE_KEYCHAIN_PROFILE`\n\nFor security reasons it is recommended to use the first option (see https://github.com/electron-userland/electron-builder/issues/7859) | ||
*/ | ||
@@ -181,0 +181,0 @@ readonly notarize?: NotarizeLegacyOptions | NotarizeNotaryOptions | boolean | null; |
@@ -1,1 +0,1 @@ | ||
export declare const PACKAGE_VERSION = "24.9.0"; | ||
export declare const PACKAGE_VERSION = "24.9.1"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.PACKAGE_VERSION = void 0; | ||
exports.PACKAGE_VERSION = "24.9.0"; | ||
exports.PACKAGE_VERSION = "24.9.1"; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "app-builder-lib", | ||
"description": "electron-builder lib", | ||
"version": "24.9.0", | ||
"version": "24.9.1", | ||
"main": "out/index.js", | ||
@@ -75,4 +75,4 @@ "files": [ | ||
"builder-util": "24.8.1", | ||
"electron-publish": "24.8.1", | ||
"builder-util-runtime": "9.2.3" | ||
"builder-util-runtime": "9.2.3", | ||
"electron-publish": "24.8.1" | ||
}, | ||
@@ -107,4 +107,4 @@ "///": "babel in devDependencies for proton tests", | ||
"@types/tar": "^6.1.3", | ||
"dmg-builder": "24.9.0", | ||
"electron-builder-squirrel-windows": "24.9.0" | ||
"electron-builder-squirrel-windows": "24.9.1", | ||
"dmg-builder": "24.9.1" | ||
}, | ||
@@ -111,0 +111,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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
2931573
23176