File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1- dist
1+ dist
2+ node_modules
3+ package-lock.json
Original file line number Diff line number Diff line change 55 "main" : " index.js" ,
66 "scripts" : {
77 "start" : " electron-webpack dev" ,
8- "build" : " electron-webpack && electron-builder"
8+ "build" : " electron-webpack && electron-builder -c.mac.identity=null "
99 },
1010 "author" :
" Kyle Robinson Young <[email protected] > (http://dontkry.com)" ,
1111 "license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -6,7 +6,10 @@ const isDevelopment = process.env.NODE_ENV !== 'production'
66
77app . on ( 'ready' , ( ) => {
88 let window = new BrowserWindow ( {
9- width : 1024
9+ width : 1024 ,
10+ webPreferences : {
11+ nodeIntegration : true
12+ }
1013 } )
1114 if ( isDevelopment ) {
1215 window . loadURL ( `http://localhost:${ process . env . ELECTRON_WEBPACK_WDS_PORT } ` )
You can’t perform that action at this time.
0 commit comments