Readonly appPath to the application package.
Needs to end with the file extension .app.
Optional Readonly identityName of the certificate to use when signing.
Selected with respect to provisioningProfile and platform from the selected 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 BaseSignOptions.identity | identity provided will be validated in the BaseSignOptions.keychain | keychain specified.
true
Optional Readonly installPath to install the bundle.
"/Applications"
Optional Readonly keychainThe keychain name.
login
Optional Readonly openPermissions of your "MyApp.app" will be overwritten inside the pkg to be owned by root:admin and 775 instead of 755.
This is done so that Squirrel Mac updates work better when this PKG is installed on end user machines. Specifically 775 allows any admin to update MyApp.app instead of it being limtied to the user who installed the app in /Applications.
This is probably what you want to enable if you're shipping a PKG to enterprise companies. It is disabled by default purely for backwards compatibility and will be changed in a future major version.
false
Optional Readonly pkgOutput path for the flattened installer package.
Needs file extension .pkg.
Inferred from the app name passed into opts.app.
Optional Readonly platformBuild platform of your Electron app.
Allowed values: darwin (Direct Download App), mas (Mac App Store).
Determined by presence of Squirrel.framework within the application bundle,
which is used for non-MAS apps.
Optional Readonly scriptsPath to a directory containing preinstall.sh or postinstall.sh scripts.
These must be executable and will run on pre/postinstall depending on the file
name.
This option is only valid if FlatOptions.platform is set to darwin.
Options for creating a flat
.pkginstaller.