mirror of
https://github.com/frappe/books.git
synced 2024-11-08 14:50: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) => {
|
||||
const { electronPlatformName, appOutDir } = context;
|
||||
if (electronPlatformName !== 'darwin') {
|
||||
if (
|
||||
electronPlatformName !== 'darwin' ||
|
||||
!parseInt(process.env.APPLE_NOTARIZE)
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user