Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/bruno-electron/electron-builder-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const config = {
],
icon: 'resources/icons/mac/icon.icns',
hardenedRuntime: true,
identity: 'Anoop MD (W7LPPWA48L)',
identity: 'Bruno Software, Inc. (P3WTZH48ZB)',
entitlements: 'resources/entitlements.mac.plist',
entitlementsInherit: 'resources/entitlements.mac.plist',
notarize: false,
Expand Down
8 changes: 5 additions & 3 deletions packages/bruno-electron/notarize.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,22 @@ const notarize = async function (params) {
}

console.log(`Notarizing ${appId} found at ${appPath} using Apple ID ${process.env.APPLE_ID}`);

const teamId = 'P3WTZH48ZB';
try {
await electron_notarize.notarize({
tool: 'notarytool',
appBundleId: appId,
appPath: appPath,
appleId: process.env.APPLE_ID,
appleIdPassword: process.env.APPLE_ID_PASSWORD,
ascProvider: 'W7LPPWA48L'
ascProvider: teamId,
teamId: teamId
});
Comment thread
sid-bruno marked this conversation as resolved.
} catch (error) {
console.error(error);
}

console.log(`Done notarizing ${appId}`);
console.log(`Done notarizing ${appPath}`);
};

module.exports = notarize;
Loading