mirror of
https://github.com/frappe/books.git
synced 2026-08-24 10:04:45 -05:00
build(macOS): add flag for notarization
This commit is contained in:
+4
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user