Optional
Readonly
identityName of the certificate to use when signing.
Selected with respect to SignOptions.provisioningProfile | provisioningProfile and SignOptions.platform | platform from the selected SignOptions.keychain | keychain.
mas
will look for 3rd Party Mac Developer Application: * (*)
darwin
will look for Developer ID Application: * (*)
by default.Optional
Readonly
identityFlag to enable/disable validation for the signing identity. If enabled, the SignOptions.identity | identity provided will be validated in the BaseSignOptions.keychain | keychain specified.
true
Optional
Readonly
ignoreDefines files that will be skipped during the code signing process.
This property accepts a regex, function or an array of regexes and functions.
Elements of other types are treated as RegExp
.
File paths matching a regex or returning a true
value from a function will be ignored.
undefined
Optional
Readonly
keychainThe keychain name.
login
Optional
Readonly
optionsFunction that receives the path to a file and can return the entitlements to use for that file to override the default behavior. The
object this function returns can include any of the following optional keys. Any properties that are returned override the default
values that @electron/osx-sign
generates. Any properties not returned use the default value.
Path to file
Override signing options
Optional
Readonly
preFlag to enable/disable entitlements automation tasks necessary for code signing most Electron apps.
com.apple.security.application-groups
to the entitlements fileElectronTeamID
property in Info.plist
with the provisioning profile's Team Identifier or by parsing the identity name.true
Optional
Readonly
preFlag to enable/disable the embedding of a provisioning profile into the app's Contents
folder.
Will use the profile from OnlySignOptions.provisioningProfile if provided. Otherwise, it
searches for a .provisionprofile
file in the current working directory.
true
Optional
Readonly
provisioningPath to a provisioning profile, which can be used to grant restricted entitlements to your app.
See Apple Documentation for more details.
Optional
Readonly
strictFlag to enable/disable the --strict
flag when verifying the signed application bundle.
true
Optional
Readonly
typeType of certificate to use when signing a MAS app.
"distribution"
See the documentation for
@electron/osx-sign
for details.