app-builder-lib
Advanced tools
Comparing version 24.6.5 to 24.7.0
@@ -18,3 +18,3 @@ "use strict"; | ||
".yarn-integrity,.yarn-metadata.json,yarn-error.log,yarn.lock,package-lock.json,npm-debug.log," + | ||
"appveyor.yml,.travis.yml,circle.yml,.nyc_output,.husky,.github"; | ||
"appveyor.yml,.travis.yml,circle.yml,.nyc_output,.husky,.github,electron-builder.env"; | ||
exports.excludedExts = "iml,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,suo,xproj,cc,d.ts," + | ||
@@ -21,0 +21,0 @@ // https://github.com/electron-userland/electron-builder/issues/7512 |
@@ -430,20 +430,21 @@ "use strict"; | ||
if (typeof options === "boolean") { | ||
return { | ||
const proj = { | ||
...baseOptions, | ||
tool: "legacy", | ||
appBundleId: this.appInfo.id, | ||
}; | ||
return proj; | ||
} | ||
if (options === null || options === void 0 ? void 0 : options.teamId) { | ||
return { | ||
const { teamId } = options; | ||
if (teamId) { | ||
const proj = { | ||
...baseOptions, | ||
tool: "notarytool", | ||
teamId: options.teamId, | ||
teamId, | ||
}; | ||
return { tool: "notarytool", ...proj }; | ||
} | ||
const { appBundleId, ascProvider } = options; | ||
return { | ||
...baseOptions, | ||
tool: "legacy", | ||
appBundleId: (options === null || options === void 0 ? void 0 : options.appBundleId) || this.appInfo.id, | ||
ascProvider: (options === null || options === void 0 ? void 0 : options.ascProvider) || undefined, | ||
appBundleId: appBundleId || this.appInfo.id, | ||
ascProvider: ascProvider || undefined, | ||
}; | ||
@@ -450,0 +451,0 @@ } |
@@ -180,5 +180,5 @@ import { PlatformSpecificBuildOptions, TargetConfiguration, TargetSpecificOptions } from "../index"; | ||
*/ | ||
readonly notarize?: NotarizeOptions | boolean | null; | ||
readonly notarize?: NotarizeLegacyOptions | NotarizeNotaryOptions | boolean | null; | ||
} | ||
export interface NotarizeOptions { | ||
export interface NotarizeLegacyOptions { | ||
/** | ||
@@ -193,6 +193,8 @@ * The app bundle identifier your Electron app is using. E.g. com.github.electron. Useful if notarization ID differs from app ID (unlikely). | ||
readonly ascProvider?: string | null; | ||
} | ||
export interface NotarizeNotaryOptions { | ||
/** | ||
* The team ID you want to notarize under. Only needed if using `notarytool` | ||
* The team ID you want to notarize under for when using `notarytool` | ||
*/ | ||
readonly teamId?: string | null; | ||
readonly teamId: string; | ||
} | ||
@@ -199,0 +201,0 @@ export interface DmgOptions extends TargetSpecificOptions { |
@@ -535,2 +535,3 @@ "use strict"; | ||
async resolveIcon(sources, fallbackSources, outputFormat) { | ||
const output = this.expandMacro(this.config.directories.output); | ||
const args = [ | ||
@@ -545,3 +546,3 @@ "icon", | ||
"--out", | ||
path.resolve(this.projectDir, this.config.directories.output, `.icon-${outputFormat}`), | ||
path.resolve(this.projectDir, output, `.icon-${outputFormat}`), | ||
]; | ||
@@ -548,0 +549,0 @@ for (const source of sources) { |
@@ -1,1 +0,1 @@ | ||
export declare const PACKAGE_VERSION = "24.6.5"; | ||
export declare const PACKAGE_VERSION = "24.7.0"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.PACKAGE_VERSION = void 0; | ||
exports.PACKAGE_VERSION = "24.6.5"; | ||
exports.PACKAGE_VERSION = "24.7.0"; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "app-builder-lib", | ||
"description": "electron-builder lib", | ||
"version": "24.6.5", | ||
"version": "24.7.0", | ||
"main": "out/index.js", | ||
@@ -106,4 +106,4 @@ "files": [ | ||
"@types/tar": "^6.1.3", | ||
"dmg-builder": "24.6.5", | ||
"electron-builder-squirrel-windows": "24.6.5" | ||
"dmg-builder": "24.7.0", | ||
"electron-builder-squirrel-windows": "24.7.0" | ||
}, | ||
@@ -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
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
Sorry, the diff of this file is not supported yet
2916601
22737