You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,10 +40,18 @@ For notarization, you need the following things:
40
40
> If you are using Electron 11 or below, you must add the `com.apple.security.cs.allow-unsigned-executable-memory` entitlement too.
41
41
> When using version 12+, this entitlement should not be applied as it increases your app's attack surface.
42
42
43
+
### Notarization on older macOS versions
44
+
45
+
Xcode 13 is available from macOS 11.3, but notarization can be performed on systems down to macOS 10.15
46
+
(see [TN3147](https://developer.apple.com/documentation/technotes/tn3147-migrating-to-the-latest-notarization-tool#Enable-notarization-on-an-older-version-of-macOS) for more information).
47
+
48
+
To achieve this, you can copy notarytool binary from a newer macOS version and provide its path as `notarytoolPath` option.
49
+
43
50
## API
44
51
45
52
`@electron/notarize` exposes a single `notarize` function that accepts the following parameters:
46
53
*`appPath` — the absolute path to your codesigned and packaged Electron application.
54
+
*`notarytoolPath` - String (optional) - Path of the notarytool binary ([more details](#notarization-on-older-macos-versions))
47
55
* additional options required for authenticating your Apple ID (see below)
48
56
49
57
The method returns a void Promise once app notarization is complete. Please note that notarization may take
0 commit comments