Skip to content

Commit b7d3abf

Browse files
committed
add proper apple identity and notorization creds
1 parent 315fe01 commit b7d3abf

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

packages/flowtest-electron/notarize.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
require('dotenv').config();
2-
const { notarize } = require('electron-notarize');
2+
const { notarize } = require('@electron/notarize');
33

44
exports.default = async function notarizing(context) {
55
const { electronPlatformName, appOutDir } = context;
@@ -9,6 +9,9 @@ exports.default = async function notarizing(context) {
99

1010
const appName = context.packager.appInfo.productFilename;
1111

12+
console.log(appOutDir);
13+
console.log(appName);
14+
1215
return await notarize({
1316
appBundleId: 'com.flowtestai.app',
1417
appPath: `${appOutDir}/${appName}.app`,

packages/flowtest-electron/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,15 @@
4545
"files": [
4646
"**/*"
4747
],
48-
"afterSign": "notarize.js",
4948
"win": {
5049
"target": "nsis"
5150
},
5251
"mac": {
5352
"target": "dmg",
54-
"identity": "Sajal Jain (7R825R8PU5)"
53+
"category": "public.app-category.developer-tools",
54+
"identity": "Sajal Jain (Z25C545DT5)",
55+
"hardenedRuntime": true,
56+
"gatekeeperAssess": false
5557
},
5658
"linux": {
5759
"target": [

0 commit comments

Comments
 (0)