@@ -61,7 +61,7 @@ export default class MenuBuilder {
6161 const subMenuFile = {
6262 label : 'File' ,
6363 submenu : [
64- { label : 'Open' , click : ( ) => { this . mainWindow . webContents . send ( 'open-warc-dialog' ) ; } }
64+ { label : 'Open...' , accelerator : 'Command+O ', click : ( ) => { this . mainWindow . webContents . send ( 'open-warc-dialog' ) ; } }
6565 ]
6666 } ;
6767 const subMenuEdit = {
@@ -79,13 +79,16 @@ export default class MenuBuilder {
7979 const subMenuViewDev = {
8080 label : 'View' ,
8181 submenu : [
82+ { label : 'Toggle App Developer Tools' , accelerator : 'Alt+Ctrl+J' , click : ( ) => { this . mainWindow . toggleDevTools ( ) ; } } ,
83+ { label : 'Toggle Page Developer Tools' , accelerator : 'Alt+Ctrl+I' , click : ( ) => { this . mainWindow . webContents . send ( 'toggle-devtools' ) ; } } ,
8284 { label : 'Reload' , accelerator : 'Command+R' , click : ( ) => { this . mainWindow . webContents . reload ( ) ; } } ,
8385 { label : 'Toggle Full Screen' , accelerator : 'Ctrl+Command+F' , click : ( ) => { this . mainWindow . setFullScreen ( ! this . mainWindow . isFullScreen ( ) ) ; } }
8486 ]
8587 } ;
8688 const subMenuViewProd = {
8789 label : 'View' ,
8890 submenu : [
91+ { label : 'Toggle Page Developer Tools' , accelerator : 'Alt+Ctrl+I' , click : ( ) => { this . mainWindow . webContents . send ( 'toggle-devtools' ) ; } } ,
8992 { label : 'Toggle Full Screen' , accelerator : 'Ctrl+Command+F' , click : ( ) => { this . mainWindow . setFullScreen ( ! this . mainWindow . isFullScreen ( ) ) ; } }
9093 ]
9194 } ;
@@ -127,7 +130,7 @@ export default class MenuBuilder {
127130 label : '&Open' ,
128131 click : ( ) => { this . mainWindow . webContents . send ( 'open-warc-dialog' ) ; }
129132 } , {
130- label : '&Close ' ,
133+ label : '&Quit ' ,
131134 accelerator : 'Ctrl+W' ,
132135 click : ( ) => {
133136 this . mainWindow . close ( ) ;
0 commit comments