Skip to main content

Interface: ElectronUniversalOptions

Options forwarded to @electron/universal's makeUniversalApp. Electron-builder fills in the app paths and force; everything else is configurable here and auto-tracks upstream additions to MakeUniversalOpts.

See

https://github.com/electron/universal

Extends

  • Omit<MakeUniversalOpts, "x64AppPath" | "arm64AppPath" | "outAppPath" | "force">

Properties

infoPlistsToIgnore?

optional infoPlistsToIgnore?: string

A minimatch pattern of Info.plist paths that should not receive an injected ElectronAsarIntegrity value.

Use this if your application contains another bundle that's already signed.

Inherited from

Omit.infoPlistsToIgnore


mergeASARs?

optional mergeASARs?: boolean

Whether to merge x64 and arm64 ASARs into one.

Default

true

Overrides

Omit.mergeASARs


singleArchFiles?

optional singleArchFiles?: string

If MakeUniversalOpts.mergeASARs is enabled, this property provides a minimatch pattern of paths that are allowed to be present in one of the ASAR files, but not in the other.

Inherited from

Omit.singleArchFiles


x64ArchFiles?

optional x64ArchFiles?: string

A minimatch pattern of binaries that are expected to be the same x64 binary in both

Use this if your application contains binaries that have already been merged into a universal file using the lipo tool.

See

Apple's Building a universal macOS binary documentation

Inherited from

Omit.x64ArchFiles