mirror of https://github.com/keeweb/keeweb
devtools mode
parent
bd9144628f
commit
ee94183e2a
|
@ -27,7 +27,7 @@ const Launcher = {
|
|||
},
|
||||
devTools: true,
|
||||
openDevTools: function() {
|
||||
this.electron().remote.getCurrentWindow().openDevTools();
|
||||
this.electron().remote.getCurrentWindow().openDevTools({ mode: 'bottom' });
|
||||
},
|
||||
getSaveFileName: function(defaultPath, callback) {
|
||||
if (defaultPath) {
|
||||
|
|
|
@ -156,7 +156,7 @@ function createMainWindow() {
|
|||
setMenu();
|
||||
mainWindow.loadURL(htmlPath);
|
||||
if (showDevToolsOnStart) {
|
||||
mainWindow.openDevTools();
|
||||
mainWindow.openDevTools({ mode: 'bottom' });
|
||||
}
|
||||
mainWindow.once('ready-to-show', () => {
|
||||
mainWindow.show();
|
||||
|
|
Loading…
Reference in New Issue