File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 <true />
1414 </dict >
1515</plist >
16-
Original file line number Diff line number Diff line change @@ -2,22 +2,23 @@ require('dotenv').config();
22const { notarize } = require ( 'electron-notarize' ) ;
33
44exports . default = async function notarizing ( context ) {
5- const { electronPlatformName, appOutDir } = context ;
6- if ( electronPlatformName !== 'darwin' ) {
7- return ;
8- }
5+ const { electronPlatformName, appOutDir } = context ;
96
10- const appName = context . packager . appInfo . productFilename ;
11- const appleId = process . env . APPLEID ;
12-
13- if ( ! appleId ) {
14- return ;
15- }
7+ if ( electronPlatformName !== 'darwin' ) {
8+ return ;
9+ }
1610
17- return await notarize ( {
18- appBundleId : 'io.rancherdesktop.app' ,
19- appPath : `${ appOutDir } /${ appName } .app` ,
20- appleId,
21- appleIdPassword : process . env . AC_PASSWORD
22- } ) ;
11+ const appName = context . packager . appInfo . productFilename ;
12+ const appleId = process . env . APPLEID ;
13+
14+ if ( ! appleId ) {
15+ return ;
16+ }
17+
18+ return await notarize ( {
19+ appBundleId : 'io.rancherdesktop.app' ,
20+ appPath : `${ appOutDir } /${ appName } .app` ,
21+ appleId,
22+ appleIdPassword : process . env . AC_PASSWORD
23+ } ) ;
2324} ;
You can’t perform that action at this time.
0 commit comments