mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 10:04:33 +02:00
adjusted electron builder
This commit is contained in:
parent
ec83edeb1f
commit
dd4e158586
|
@ -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;
|
Loading…
Reference in a new issue