mirror of
https://github.com/frappe/books.git
synced 2024-11-08 23:00:56 +00:00
build(macOS): add flag for notarization
This commit is contained in:
parent
89cbc1c6c7
commit
1dac832391
@ -2,7 +2,10 @@ const { notarize } = require('electron-notarize');
|
|||||||
|
|
||||||
exports.default = async (context) => {
|
exports.default = async (context) => {
|
||||||
const { electronPlatformName, appOutDir } = context;
|
const { electronPlatformName, appOutDir } = context;
|
||||||
if (electronPlatformName !== 'darwin') {
|
if (
|
||||||
|
electronPlatformName !== 'darwin' ||
|
||||||
|
!parseInt(process.env.APPLE_NOTARIZE)
|
||||||
|
) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user