forked from Qortal/qortal-ui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
512 B
18 lines
512 B
require('dotenv').config(); |
|
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: 'org.qortal.QortalUI', |
|
appPath: `${appOutDir}/${appName}.app`, |
|
appleId: process.env.APPLEID, |
|
appleIdPassword: process.env.APPLEIDPASS, |
|
}); |
|
};
|
|
|