File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed
packages/flowtest-electron Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 1+ require ( 'dotenv' ) . config ( ) ;
2+ const { notarize } = require ( 'electron-notarize' ) ;
3+
4+ exports . default = async function notarizing ( context ) {
5+ const { electronPlatformName, appOutDir } = context ;
6+ if ( electronPlatformName !== 'darwin' ) {
7+ return ;
8+ }
9+
10+ const appName = context . packager . appInfo . productFilename ;
11+
12+ return await notarize ( {
13+ appBundleId : 'com.flowtestai.app' ,
14+ appPath : `${ appOutDir } /${ appName } .app` ,
15+ appleId : process . env . APPLE_ID ,
16+ appleIdPassword : process . env . APPLE_ID_PASSWORD ,
17+ teamId : process . env . TEAM_ID ,
18+ } ) ;
19+ } ;
Original file line number Diff line number Diff line change 44 "homepage" : " https://github.com/FlowTestAI/FlowTest/tree/main" ,
55 "description" : " OpenSource IDE for designing API powered flows" ,
66 "main" : " electron-main.js" ,
7+ "bugs" : {
8+ "url" : " https://github.com/FlowTestAI/FlowTest/issues"
9+ },
710 "scripts" : {
811 "start" : " electron ." ,
912 "test" : " jest" ,
1316 "author" : " Sajal Jain <jsajal1993@gmail.com>" ,
1417 "license" : " MIT" ,
1518 "devDependencies" : {
19+ "@electron/notarize" : " ^2.3.0" ,
1620 "electron" : " ^29.0.0" ,
1721 "electron-builder" : " ^24.13.3" ,
1822 "jest" : " ^29.7.0"
4145 "files" : [
4246 " **/*"
4347 ],
48+ "afterSign" : " notarize.js" ,
4449 "win" : {
4550 "target" : " nsis"
4651 },
4752 "mac" : {
48- "target" : " dmg"
53+ "target" : " dmg" ,
54+ "identity" : " Sajal Jain (7R825R8PU5)"
4955 },
5056 "linux" : {
5157 "target" : [
You can’t perform that action at this time.
0 commit comments