ReadonlyappPath to the application package.
Needs to end with the file extension .app.
Optional ReadonlyidentityName 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 ReadonlyidentityFlag to enable/disable validation for the signing identity. If enabled, the BaseSignOptions.identity | identity provided will be validated in the BaseSignOptions.keychain | keychain specified.
Optional ReadonlyimplementationWhich packaging implementation builds the .pkg:
'native' shells out to Apple's pkgbuild/productbuild binaries.'js' builds the flat package with the bundled pure-JavaScript
implementation — substantially faster and usable on any platform.
When an BaseSignOptions.identity | identity is provided the
built package is signed with productsign (macOS only).Optional ReadonlyinstallPath to install the bundle.
Optional ReadonlykeychainThe keychain name.
Optional ReadonlyopenPermissions 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.
Optional ReadonlypkgOutput path for the flattened installer package.
Needs file extension .pkg.
Optional ReadonlyplatformBuild platform of your Electron app.
Allowed values: darwin (Direct Download App), mas (Mac App Store).
Optional ReadonlyscriptsPath 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.