chore: electron notarization for mac

This commit is contained in:
Anoop M D 2023-09-13 18:09:59 +05:30
parent 73b71e0829
commit 69be52cf9e
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
require('dotenv').config({ path: process.env.DOTENV_PATH }) require('dotenv').config({ path: process.env.DOTENV_PATH });
const config = { const config = {
"appId": "com.usebruno.app", "appId": "com.usebruno.app",
@ -11,6 +11,7 @@ const config = {
"files": [ "files": [
"**/*" "**/*"
], ],
"afterSign": "notarize.js",
"mac": { "mac": {
"artifactName": "${name}_${version}_${arch}_${os}.${ext}", "artifactName": "${name}_${version}_${arch}_${os}.${ext}",
"category": "public.app-category.developer-tools", "category": "public.app-category.developer-tools",

View File

@ -1,4 +1,4 @@
require('dotenv').config(); require('dotenv').config({ path: process.env.DOTENV_PATH });
const fs = require('fs'); const fs = require('fs');
const path = require('path'); const path = require('path');
const electron_notarize = require('electron-notarize'); const electron_notarize = require('electron-notarize');