Interface: AsarOptions
Properties
disableIntegrity?
optionaldisableIntegrity?:boolean
Whether to skip computing the ASAR integrity hash.
Normally electron-builder computes and embeds a SHA-256 hash of app.asar so that Electron
can verify it at startup (when the embeddedAsarIntegrityValidation fuse is enabled). Set to
true only for custom Electron forks with encrypted ASAR support where the header is not
readable by standard tools.
Default
false
disableSanityCheck?
optionaldisableSanityCheck?:boolean
Whether to skip the ASAR package integrity sanity check.
Set to true only when using a custom Electron fork that implements its own encrypted or
non-standard ASAR integrity validation that is not compatible with electron-builder's default
check. Standard builds should leave this false.
Default
false
ordering?
optionalordering?:string|null
Path to a file containing the order in which files should be packed into the asar archive. Each line of the file is a relative path from the app directory. Files listed first are packed first, which can improve app startup time by front-loading frequently accessed modules. See the asar documentation for details.
smartUnpack?
optionalsmartUnpack?:boolean
Whether to automatically unpack executables files.
Default
true
unpack?
optionalunpack?:string|string[] |null
A glob patterns relative to the app directory, which specifies which files to unpack when creating the asar archive.