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
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -44,18 +44,9 @@ For notarization, you need the following things:
44
44
### Method: `notarize(opts): Promise<void>`
45
45
46
46
*`options` Object
47
-
*`tool` String - The notarization tool to use, default is `legacy`. Can be `legacy` or `notarytool`. `notarytool` is substantially (10x) faster.
47
+
*`tool` String - The notarization tool to use, default is `notarytool`. Can be `legacy` or `notarytool`. `notarytool` is substantially (10x) faster and `legacy` is deprecated and will **stop working** on November 1st 2023.
48
48
*`appPath` String - The absolute path to your `.app` file
49
-
* There are different options for each tool: Legacy
50
-
*`appBundleId` String - The app bundle identifier your Electron app is using. E.g. `com.github.electron`
51
-
*`ascProvider` String (optional) - Your [Team Short Name](#notes-on-your-team-short-name).
52
-
* There are two authentication methods available: user name with password:
53
-
*`appleId` String - The username of your apple developer account
54
-
*`appleIdPassword` String - The [app-specific password](https://support.apple.com/HT204397) (not your Apple ID password).
55
-
* ... or apiKey with apiIssuer:
56
-
*`appleApiKey` String - Required for JWT authentication. See Note on JWT authentication below.
57
-
*`appleApiIssuer` String - Issuer ID. Required if `appleApiKey` is specified.
58
-
* ... or Notary Tool
49
+
* There are different options for each tool: Notarytool
59
50
* There are three authentication methods available: user name with password:
60
51
*`appleId` String - The username of your apple developer account
61
52
*`appleIdPassword` String - The [app-specific password](https://support.apple.com/HT204397) (not your Apple ID password).
@@ -67,6 +58,15 @@ For notarization, you need the following things:
67
58
* ... or keychain with keychainProfile:
68
59
*`keychain` String - The name of the keychain or path to the keychain you stored notarization credentials in.
69
60
*`keychainProfile` String - The name of the profile you provided when storing notarization credentials.
61
+
* ... or Legacy
62
+
*`appBundleId` String - The app bundle identifier your Electron app is using. E.g. `com.github.electron`
63
+
*`ascProvider` String (optional) - Your [Team Short Name](#notes-on-your-team-short-name).
64
+
* There are two authentication methods available: user name with password:
65
+
*`appleId` String - The username of your apple developer account
66
+
*`appleIdPassword` String - The [app-specific password](https://support.apple.com/HT204397) (not your Apple ID password).
67
+
* ... or apiKey with apiIssuer:
68
+
*`appleApiKey` String - Required for JWT authentication. See Note on JWT authentication below.
69
+
*`appleApiIssuer` String - Issuer ID. Required if `appleApiKey` is specified.
thrownewError('notarytool is not available, you must be on at least Xcode 13');
19
-
}
20
-
21
-
awaitnotarizeAndWaitForNotaryTool({
22
-
appPath,
23
-
...otherOptions,
24
-
});
25
-
}else{
15
+
if(otherOptions.tool==='legacy'){
26
16
console.warn(
27
17
'Notarizing using the legacy altool system. The altool system will be disabled on November 1 2023. Please switch to the notarytool system before then.',
0 commit comments