Skip to content

Commit

Permalink
Fix macOS notarisation using keychain credentials (#557)
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy committed Mar 1, 2023
1 parent 144d04a commit 88ef8de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/electron_afterSign.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ exports.default = async function (context) {
if (process.env.NOTARIZE_KEYCHAIN_PROFILE) {
notarizeToolCredentials.keychainProfile = process.env.NOTARIZE_KEYCHAIN_PROFILE;
notarizeToolCredentials.keychain = process.env.NOTARIZE_KEYCHAIN;
} if (process.env.NOTARIZE_APPLE_ID && process.env.NOTARIZE_APPLE_ID_PASSWORD && process.env.NOTARIZE_TEAM_ID) {
} else if (process.env.NOTARIZE_APPLE_ID && process.env.NOTARIZE_APPLE_ID_PASSWORD && process.env.NOTARIZE_TEAM_ID) {
notarizeToolCredentials.appleId = process.env.NOTARIZE_APPLE_ID;
notarizeToolCredentials.appleIdPassword = process.env.NOTARIZE_APPLE_ID_PASSWORD;
notarizeToolCredentials.teamId = process.env.NOTARIZE_TEAM_ID;
Expand Down

0 comments on commit 88ef8de

Please sign in to comment.