mirror of
https://github.com/qishibo/AnotherRedisDesktopManager.git
synced 2025-12-08 20:59:50 +00:00
19 lines
534 B
JavaScript
19 lines
534 B
JavaScript
const { notarize } = require('@electron/notarize');
|
|
|
|
exports.default = async function notarizing(context) {
|
|
const { electronPlatformName, appOutDir } = context;
|
|
if (electronPlatformName !== 'darwin') {
|
|
return;
|
|
}
|
|
|
|
const appName = context.packager.appInfo.productFilename;
|
|
|
|
return await notarize({
|
|
appBundleId: 'me.qii404.another-redis-desktop-manager',
|
|
appPath: `${appOutDir}/${appName}.app`,
|
|
appleId: process.env.APPLEID,
|
|
appleIdPassword: process.env.APPLEID_PASSWORD,
|
|
teamId: '68JN8DV835',
|
|
});
|
|
};
|