electron-osx-sign-usage.txt 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. NAME
  2. electron-osx-sign -- code signing for Electron apps
  3. SYNOPSIS
  4. electron-osx-sign app [embedded-binary ...] [options ...]
  5. DESCRIPTION
  6. app
  7. Path to the application package.
  8. Needs file extension ``.app''.
  9. embedded-binary ...
  10. Path to additional binaries that will be signed along with built-ins of Electron, spaced.
  11. --entitlements=file
  12. Path to entitlements file for signing the app.
  13. Default to built-in entitlements file, Sandbox enabled for Mac App Store platform.
  14. --entitlements-inherit=file
  15. Path to child entitlements which inherit the security settings for signing frameworks and bundles of a distribution.
  16. This option only applies when signing with entitlements.
  17. --gatekeeper-assess, --no-gatekeeper-assess
  18. Flag to enable/disable Gatekeeper assessment after signing the app. Disabling it is useful for signing with self-signed certificates.
  19. Gatekeeper assessment is enabled by default on ``darwin'' platform.
  20. --help
  21. Flag to display all commands.
  22. --identity=identity
  23. Name of certificate to use when signing.
  24. Default to selected with respect to --provisioning-profile and --platform from --keychain specified or keychain by system default.
  25. --identity-validation, --no-identity-validation
  26. Flag to enable/disable validation for the signing identity.
  27. --ignore=path
  28. Path to skip signing. The string will be treated as a regular expression when used to match the file paths.
  29. --keychain=keychain
  30. The keychain name.
  31. Default to system default keychain.
  32. --platform=platform
  33. Build platform of Electron.
  34. Allowed values: ``darwin'', ``mas''.
  35. Default to auto detect from application bundle.
  36. --pre-auto-entitlements, --no-pre-auto-entitlements
  37. Flag to enable/disable automation of entitlements file and Info.plist.
  38. --pre-embed-provisioning-profile, --no-pre-embed-provisioning-profile
  39. Flag to enable/disable embedding of provisioning profile.
  40. --provisioning-profile=file
  41. Path to provisioning profile.
  42. --requirements=requirements
  43. Specify the criteria that you recommend to be used to evaluate the code signature.
  44. --strict-verify, --strict-verify=options, --no-strict-verify
  45. Flag to enable/disable ``--strict'' flag when verifying the signed application bundle.
  46. Each component should be separated in ``options'' with comma (``,'').
  47. Enabled by default.
  48. --timestamp=timestamp
  49. Specify the URL of the timestamp authority server, default to server provided by Apple.
  50. Disable the timestamp service with ``none''.
  51. --type=type
  52. Specify whether to sign app for development or for distribution.
  53. Allowed values: ``development'', ``distribution''.
  54. Default to ``distribution''.
  55. --version=version
  56. Build version of Electron.
  57. Values may be: ``1.2.0''.
  58. Default to latest Electron version.