Commit d70cd0a 1 parent c507bf6 commit d70cd0a Copy full SHA for d70cd0a
File tree 2 files changed +11
-2
lines changed
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -30,10 +30,11 @@ serve({ directory: appRendererPath });
30
30
31
31
const createWindow = async ( ) : Promise < void > => {
32
32
const mainWindow = new BrowserWindow ( {
33
- width : 800 ,
34
- height : 600 ,
33
+ width : 1200 ,
34
+ height : 800 ,
35
35
webPreferences : {
36
36
preload : path . join ( appPreloadPath , 'index.js' ) ,
37
+ devTools : ! app . isPackaged ,
37
38
/**
38
39
* Security Best Practices
39
40
* https://www.electronjs.org/docs/latest/tutorial/security
Original file line number Diff line number Diff line change @@ -139,6 +139,14 @@ function buildDarwinTemplate(
139
139
window . setFullScreen ( ! window . isFullScreen ( ) ) ;
140
140
} ,
141
141
} ,
142
+ {
143
+ label : 'Toggle Developer Tools' ,
144
+ accelerator : 'Alt+Command+I' ,
145
+ visible : ! app . isPackaged ,
146
+ click : ( ) => {
147
+ window . webContents . toggleDevTools ( ) ;
148
+ } ,
149
+ } ,
142
150
{ type : 'separator' } ,
143
151
{
144
152
label : 'Reset Zoom' ,
You can’t perform that action at this time.
0 commit comments