mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Notarization: Update electron-notarize and start using notarytool
This commit is contained in:
@@ -47,15 +47,25 @@ export async function afterSign({
|
||||
return;
|
||||
}
|
||||
|
||||
const teamId = process.env.APPLE_TEAM_ID;
|
||||
if (!teamId) {
|
||||
console.warn(
|
||||
'teamId must be provided in environment variable APPLE_TEAM_ID'
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
console.log('Notarizing with...');
|
||||
console.log(` primaryBundleId: ${appBundleId}`);
|
||||
console.log(` username: ${appleId}`);
|
||||
console.log(` file: ${appPath}`);
|
||||
|
||||
await notarize({
|
||||
tool: 'notarytool',
|
||||
appBundleId,
|
||||
appPath,
|
||||
appleId,
|
||||
appleIdPassword,
|
||||
teamId,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user