mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
now devtools will open undocked on new installs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
45a620545d
commit
25154c4363
@ -136,8 +136,8 @@ function createWindow(){
|
||||
function(){ WIN = null })
|
||||
|
||||
// devtools for different windows...
|
||||
//WIN.webContents.openDevTools()
|
||||
//WIN.openDevTools()
|
||||
//WIN.webContents.openDevTools({mode: 'undocked'})
|
||||
//WIN.openDevTools({mode: 'undocked'})
|
||||
|
||||
return WIN }
|
||||
|
||||
|
||||
@ -63,7 +63,8 @@ if(window.require){
|
||||
// electron...
|
||||
} else {
|
||||
try{
|
||||
require('electron').remote.getCurrentWindow().openDevTools()
|
||||
require('electron').remote.getCurrentWindow()
|
||||
.openDevTools({mode: 'undocked'})
|
||||
} catch(err){ } }
|
||||
}, STARTUP_DEVTOOLS_TIMEOUT) }
|
||||
</script>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user