Type aliases Base Sign Options Base
Sign
Options
: Readonly < { app
: string ; identity
?: string ; keychain
?: string ; platform
?: ElectronMacPlatform } > Defined in node_modules/@electron/osx-sign/dist/esm/types.d.ts:3 Create Options Create
Options
: { dot
?: boolean ; globOptions
?: IOptions ; ordering
?: string ; pattern
?: string ; unpack
?: string ; unpackDir
?: string ; transform
?: any } Defined in node_modules/@electron/asar/lib/index.d.ts:4 Type declaration Optional dot?: boolean Optional glob Options?: IOptions Optional ordering?: string Optional pattern?: string Optional unpack?: string Optional unpack Dir?: string transform?: function transform( filePath: string ) : void | ReadWriteStream Defined in node_modules/@electron/asar/lib/index.d.ts:9 Parameters Returns void | ReadWriteStream Electron Mac Platform Electron Mac Platform: "darwin" | "mas"
Defined in node_modules/@electron/osx-sign/dist/esm/types.d.ts:1 Electron Process Electron Process: ChildProcess & { restarted: boolean }
Defined in packages/utils/types/dist/index.d.ts:9 Finalize Package Targets Hook Function Defined in node_modules/@electron/packager/dist/types.d.ts:88 Forge Config Maker Defined in packages/utils/types/dist/index.d.ts:15 Forge Config Plugin Defined in packages/utils/types/dist/index.d.ts:16 Forge Config Publisher Defined in packages/utils/types/dist/index.d.ts:14 Forge Hook Fn Defined in packages/utils/types/dist/index.d.ts:41 Type parameters Forge Hook Map Defined in packages/utils/types/dist/index.d.ts:42 Forge Hook Name Defined in packages/utils/types/dist/index.d.ts:38 Forge Listr Task Definition Defined in packages/utils/types/dist/index.d.ts:177 Forge Multi Hook Map Defined in packages/utils/types/dist/index.d.ts:45 Forge Mutating Hook Fn Defined in packages/utils/types/dist/index.d.ts:40 Type parameters Forge Packager Options Forge
Packager
Options
: Omit < Options , "dir" | "arch" | "platform" | "out" | "electronVersion" > Defined in packages/utils/types/dist/index.d.ts:55 Forge Rebuild Options Forge
Rebuild
Options
: Omit < RebuildOptions , "buildPath" | "electronVersion" | "arch" > Defined in packages/utils/types/dist/index.d.ts:54 Forge Simple Hook Fn Defined in packages/utils/types/dist/index.d.ts:39 Type parameters Type declaration Parameters Returns Promise < void > Hook Function Defined in node_modules/@electron/packager/dist/types.d.ts:72 Type declaration Parameters buildPath: string electronVersion: string Returns void Hook Function Hook Function: ( fileToSign: string ) => void | Promise < void >
Defined in node_modules/@electron/packager/node_modules/@electron/windows-sign/dist/esm/types.d.ts:32 Type declaration ( fileToSign: string ) : void | Promise < void > Parameters Returns void | Promise < void > Hook Function Error Callback Hook Function Error Callback: ( err?: Error | null ) => void
Defined in node_modules/@electron/packager/dist/types.d.ts:37 Type declaration ( err?: Error | null ) : void Parameters Optional err: Error | null Returns void Ignore Function Ignore Function: ( path: string ) => boolean
Defined in node_modules/@electron/packager/dist/types.d.ts:36 Type declaration Parameters Returns boolean Inner Start Result Defined in packages/utils/types/dist/index.d.ts:169 Listr Base Class Options Defined in node_modules/listr2/dist/index.d.ts:829 Type parameters Listr Context Listr Context: any | undefined
Defined in node_modules/listr2/dist/index.d.ts:681 Listr Default Renderer Defined in node_modules/listr2/dist/index.d.ts:596 Listr Default Renderer Value Listr Default Renderer Value: "default"
Defined in node_modules/listr2/dist/index.d.ts:594 Listr Event Defined in node_modules/listr2/dist/index.d.ts:837 Listr Fallback Renderer Defined in node_modules/listr2/dist/index.d.ts:600 Listr Fallback Renderer Value Listr Fallback Renderer Value: "verbose"
Defined in node_modules/listr2/dist/index.d.ts:598 Listr Get Renderer Class From Value Defined in node_modules/listr2/dist/index.d.ts:617 Type parameters Listr Get Renderer Options Defined in node_modules/listr2/dist/index.d.ts:625 Type parameters Listr Get Renderer Task Options Defined in node_modules/listr2/dist/index.d.ts:629 Type parameters Listr Renderer Factory Defined in node_modules/listr2/dist/index.d.ts:673 Listr Renderer Value Defined in node_modules/listr2/dist/index.d.ts:613 Listr Silent Renderer Defined in node_modules/listr2/dist/index.d.ts:604 Listr Silent Renderer Value Listr Silent Renderer Value: "silent"
Defined in node_modules/listr2/dist/index.d.ts:602 Listr Simple Renderer Defined in node_modules/listr2/dist/index.d.ts:608 Listr Simple Renderer Value Listr Simple Renderer Value: "simple"
Defined in node_modules/listr2/dist/index.d.ts:606 Listr Sub Class Options Defined in node_modules/listr2/dist/index.d.ts:835 Type parameters Listr Task Result Defined in node_modules/listr2/dist/index.d.ts:821 Type parameters Make Universal Opts Defined in node_modules/@electron/packager/dist/types.d.ts:7 Make Universal Opts Make Universal Opts: { arm64AppPath: string ; force?: boolean ; infoPlistsToIgnore?: string ; mergeASARs?: boolean ; outAppPath: string ; singleArchFiles?: string ; x64AppPath: string ; x64ArchFiles?: string }
Defined in node_modules/@electron/universal/dist/cjs/index.d.ts:1 Type declaration arm64 App Path: string Optional force?: boolean Optional info Plists To Ignore?: string Optional mergeASARs?: boolean out App Path: string Optional single Arch Files?: string x64 App Path: string Optional x64 Arch Files?: string Module Type Module Type: "prod" | "dev" | "optional"
Defined in node_modules/@electron/rebuild/lib/src/module-walker.d.ts:1 Notary Tool Credentials Defined in node_modules/@electron/notarize/lib/types.d.ts:24 Official Arch Official Arch: "ia32" | "x64" | "armv7l" | "arm64" | "mips64el" | "universal"
Defined in node_modules/@electron/packager/dist/types.d.ts:12 Official Platform Official Platform: "linux" | "win32" | "darwin" | "mas"
Defined in node_modules/@electron/packager/dist/types.d.ts:16 Only Sign Options Only
Sign
Options
: { binaries
?: string [] ; identityValidation
?: boolean ; ignore
?: string | string [] | ( ( file
: string ) => boolean ) ; preAutoEntitlements
?: boolean ; preEmbedProvisioningProfile
?: boolean ; provisioningProfile
?: string ; strictVerify
?: boolean ; type
?: SigningDistributionType ; version
?: string ; optionsForFile
?: any } Defined in node_modules/@electron/osx-sign/dist/esm/types.d.ts:41 Type declaration Optional binaries?: string [] Optional identity Validation?: boolean Optional ignore?: string | string [] | ( ( file: string ) => boolean ) Optional pre Auto Entitlements?: boolean Optional pre Embed Provisioning Profile?: boolean Optional provisioning Profile?: string Optional strict Verify?: boolean Optional version?: string options For File?: function Defined in node_modules/@electron/osx-sign/dist/esm/types.d.ts:43 Parameters Osx Sign Options Osx
Sign
Options
: Omit < SignOptions , "app" | "binaries" | "platform" | "version" > Defined in node_modules/@electron/packager/dist/types.d.ts:90 Osx Universal Options Osx
Universal
Options
: Omit < MakeUniversalOpts , "x64AppPath" | "arm64AppPath" | "outAppPath" | "force" > Defined in node_modules/@electron/packager/dist/types.d.ts:95 Per File Sign Options Per File Sign Options: { entitlements?: string | string [] ; hardenedRuntime?: boolean ; requirements?: string ; signatureFlags?: string | string [] ; timestamp?: string }
Defined in node_modules/@electron/osx-sign/dist/esm/types.d.ts:16 Type declaration Optional entitlements?: string | string [] Optional hardened Runtime?: boolean Optional requirements?: string Optional signature Flags?: string | string [] Optional timestamp?: string Prompt Options Defined in node_modules/listr2/dist/index.d.ts:81 Type parameters Prompt Options Defined in node_modules/enquirer/index.d.ts:86 Prompt Options Type Defined in node_modules/listr2/dist/index.d.ts:98 Type parameters Prompt Types Prompt Types: "AutoComplete" | "BasicAuth" | "Confirm" | "Editable" | "Form" | "Input" | "Invisible" | "List" | "MultiSelect" | "Numeral" | "Password" | "Quiz" | "Scale" | "Select" | "Snippet" | "Sort" | "Survey" | "Text" | "Toggle"
Defined in node_modules/listr2/dist/index.d.ts:97 Rebuild Mode Rebuild Mode: "sequential" | "parallel"
Defined in node_modules/@electron/rebuild/lib/src/types.d.ts:7 Sign Options Defined in node_modules/@electron/osx-sign/dist/esm/types.d.ts:69 Signing Distribution Type Signing Distribution Type: "development" | "distribution"
Defined in node_modules/@electron/osx-sign/dist/esm/types.d.ts:2 Snapcraft Config Snapcraft Config: Record < string , unknown >
Defined in node_modules/electron-installer-snap/src/index.d.ts:36 Start Result Defined in packages/utils/types/dist/index.d.ts:170 Target Arch Defined in node_modules/@electron/packager/dist/types.d.ts:17 Target Definition Defined in node_modules/@electron/packager/dist/types.d.ts:84 Target Platform Defined in node_modules/@electron/packager/dist/types.d.ts:18 Teardown Logic Defined in node_modules/rxjs/dist/types/internal/types.d.ts:57 Trace Options Trace Options: { category: string ; extraDetails?: Record < string , string > ; name: string ; newRoot?: boolean }
Defined in packages/utils/tracer/dist/index.d.ts:1 Type declaration category: string Optional extra Details?: Record < string , string > name: string Optional new Root?: boolean Unionize Unionize< T > : { [ P in keyof T ] : T [ P ] } [ keyof T ]
Defined in node_modules/listr2/dist/index.d.ts:94 Type parameters T: Record < PropertyKey , unknown >
A function that is called on the completion of a packaging stage.
By default, the functions are called in parallel (via
Promise.all
). If you need the functions called serially, there is a utility function provided. Please note that callback-style functions are not supported byserialHooks
. For example:For real-world examples of
HookFunction
s, see the list of related plugins.