adjusted electron builder

This commit is contained in:
DJ2LS 2023-10-22 22:01:25 +02:00
parent ec83edeb1f
commit dd4e158586

View file

@ -1,19 +0,0 @@
const { notarize } = require('@electron/notarize');
async function notarizing(context) {
const { electronPlatformName, appOutDir } = context;
if (electronPlatformName !== 'darwin') {
return;
}
const appName = context.packager.appInfo.productFilename;
return await notarize({
appBundleId: 'app.freedata',
appPath: `${appOutDir}/${appName}.app`,
appleId: process.env.APPLE_ID,
appleIdPassword: process.env.APPLE_ID_PASSWORD,
});
}
exports.default = notarizing;