diff --git a/packages/bruno-electron/electron-builder-config.js b/packages/bruno-electron/electron-builder-config.js index 504f49d9b..f7b1c5abc 100644 --- a/packages/bruno-electron/electron-builder-config.js +++ b/packages/bruno-electron/electron-builder-config.js @@ -1,4 +1,4 @@ -require('dotenv').config({ path: process.env.DOTENV_PATH }) +require('dotenv').config({ path: process.env.DOTENV_PATH }); const config = { "appId": "com.usebruno.app", @@ -11,6 +11,7 @@ const config = { "files": [ "**/*" ], + "afterSign": "notarize.js", "mac": { "artifactName": "${name}_${version}_${arch}_${os}.${ext}", "category": "public.app-category.developer-tools", diff --git a/packages/bruno-electron/notarize.js b/packages/bruno-electron/notarize.js index c620cff94..d76c3624e 100644 --- a/packages/bruno-electron/notarize.js +++ b/packages/bruno-electron/notarize.js @@ -1,4 +1,4 @@ -require('dotenv').config(); +require('dotenv').config({ path: process.env.DOTENV_PATH }); const fs = require('fs'); const path = require('path'); const electron_notarize = require('electron-notarize');