File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 "private" : true ,
55 "description" : " A Witnet compatible desktop wallet interface and data requests development environment." ,
66 "author" : " Witnet Foundation <info@witnet.foundation>" ,
7- "afterSign" : " scripts/notarize.js" ,
87 "scripts" : {
98 "serve" : " vue-cli-service serve" ,
109 "build" : " vue-cli-service build" ,
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 : 'io.witnet.sheikah' ,
14+ appPath : `${ appOutDir } /${ appName } .app` ,
15+ appleId : process . env . APPLEID ,
16+ appleIdPassword : process . env . APPLEIDPASS ,
17+ } )
18+ }
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ module.exports = {
1313 entitlementsInherit : 'build/entitlements.mac.plist' ,
1414 gatekeeperAssess : false ,
1515 } ,
16+ afterSign : 'scripts/notarize.js' ,
1617 } ,
1718 nodeIntegration : true ,
1819 } ,
You can’t perform that action at this time.
0 commit comments