app-builder-lib
Advanced tools
Comparing version 25.0.0-alpha.7 to 25.0.0-alpha.8
@@ -198,2 +198,6 @@ import { Arch } from "builder-util"; | ||
/** | ||
* The function (or path to file or module id) to be [run after the prebuilt Electron binary has been extracted to the output directory](#afterextract) | ||
*/ | ||
readonly afterExtract?: ((context: AfterExtractContext) => Promise<any> | any) | string | null; | ||
/** | ||
* The function (or path to file or module id) to be [run after pack](#afterpack) (but before pack into distributable format and sign). | ||
@@ -269,2 +273,3 @@ */ | ||
export type BeforePackContext = PackContext; | ||
export type AfterExtractContext = PackContext; | ||
export interface MetadataDirectories { | ||
@@ -271,0 +276,0 @@ /** |
@@ -322,2 +322,3 @@ "use strict"; | ||
requirements: requirements || undefined, | ||
additionalArguments: customSignOptions.additionalArguments || [], | ||
}; | ||
@@ -324,0 +325,0 @@ builder_util_1.log.debug({ file: builder_util_1.log.filePath(filePath), ...args }, "selecting signing options"); |
@@ -180,2 +180,9 @@ import { PlatformSpecificBuildOptions, TargetConfiguration, TargetSpecificOptions } from "../index"; | ||
/** | ||
* Array of strings specifying additional arguments to pass to the `codesign` command used to sign a specific file. | ||
* | ||
* Some subresources that you may include in your Electron app may need to be signed with --deep, this is not typically safe to apply to the entire Electron app and therefore should be applied to just your file. | ||
* Usage Example: `['--deep']` | ||
*/ | ||
readonly additionalArguments?: Array<string> | null; | ||
/** | ||
* Options to use for @electron/notarize (ref: https://github.com/electron/notarize). | ||
@@ -182,0 +189,0 @@ * Use `false` to explicitly disable |
@@ -180,2 +180,13 @@ "use strict"; | ||
}); | ||
const afterExtract = await resolveFunction(this.appInfo.type, this.config.afterExtract, "afterExtract"); | ||
if (afterExtract != null) { | ||
await afterExtract({ | ||
appOutDir, | ||
outDir, | ||
arch, | ||
targets, | ||
packager: this, | ||
electronPlatformName: platformName, | ||
}); | ||
} | ||
const excludePatterns = []; | ||
@@ -182,0 +193,0 @@ const computeParsedPatterns = (patterns) => { |
@@ -1,1 +0,1 @@ | ||
export declare const PACKAGE_VERSION = "25.0.0-alpha.7"; | ||
export declare const PACKAGE_VERSION = "25.0.0-alpha.8"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.PACKAGE_VERSION = void 0; | ||
exports.PACKAGE_VERSION = "25.0.0-alpha.7"; | ||
exports.PACKAGE_VERSION = "25.0.0-alpha.8"; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "app-builder-lib", | ||
"description": "electron-builder lib", | ||
"version": "25.0.0-alpha.7", | ||
"version": "25.0.0-alpha.8", | ||
"main": "out/index.js", | ||
@@ -51,3 +51,3 @@ "files": [ | ||
"@electron/notarize": "2.3.0", | ||
"@electron/osx-sign": "1.0.5", | ||
"@electron/osx-sign": "1.3.0", | ||
"@electron/rebuild": "3.6.0", | ||
@@ -70,3 +70,3 @@ "@electron/universal": "2.0.1", | ||
"minimatch": "^5.1.1", | ||
"read-config-file": "6.3.2", | ||
"read-config-file": "6.4.0", | ||
"sanitize-filename": "^1.6.3", | ||
@@ -77,4 +77,4 @@ "semver": "^7.3.8", | ||
"builder-util": "25.0.0-alpha.6", | ||
"electron-publish": "25.0.0-alpha.7", | ||
"builder-util-runtime": "9.2.5-alpha.2" | ||
"builder-util-runtime": "9.2.5-alpha.2", | ||
"electron-publish": "25.0.0-alpha.7" | ||
}, | ||
@@ -109,8 +109,8 @@ "///": "babel in devDependencies for proton tests", | ||
"@types/tar": "^6.1.3", | ||
"dmg-builder": "25.0.0-alpha.7", | ||
"electron-builder-squirrel-windows": "25.0.0-alpha.7" | ||
"dmg-builder": "25.0.0-alpha.8", | ||
"electron-builder-squirrel-windows": "25.0.0-alpha.8" | ||
}, | ||
"peerDependencies": { | ||
"electron-builder-squirrel-windows": "25.0.0-alpha.7", | ||
"dmg-builder": "25.0.0-alpha.7" | ||
"dmg-builder": "25.0.0-alpha.8", | ||
"electron-builder-squirrel-windows": "25.0.0-alpha.8" | ||
}, | ||
@@ -117,0 +117,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
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
2980568
23172
+ Added@electron/osx-sign@1.3.0(transitive)
+ Addedconfig-file-ts@0.2.8-rc1(transitive)
+ Addeddmg-builder@25.0.0-alpha.8(transitive)
+ Addeddotenv@16.4.5(transitive)
+ Addeddotenv-expand@11.0.6(transitive)
+ Addedelectron-builder-squirrel-windows@25.0.0-alpha.8(transitive)
+ Addedread-config-file@6.4.0(transitive)
- Removed@electron/osx-sign@1.0.5(transitive)
- Removedconfig-file-ts@0.2.6(transitive)
- Removeddmg-builder@25.0.0-alpha.7(transitive)
- Removeddotenv@9.0.2(transitive)
- Removeddotenv-expand@5.1.0(transitive)
- Removedelectron-builder-squirrel-windows@25.0.0-alpha.7(transitive)
- Removedread-config-file@6.3.2(transitive)
Updated@electron/osx-sign@1.3.0
Updatedread-config-file@6.4.0