Interface PackagerUniversalOptions

See the documentation for @electron/universal for details.

interface PackagerUniversalOptions {
    infoPlistsToIgnore?: string;
    mergeASARs?: boolean;
    singleArchFiles?: string;
    x64ArchFiles?: string;
}

Properties

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.

mergeASARs?: boolean

Merge x64 and arm64 ASARs into one.

Default Value

false

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.

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