javascript - Electron developer tools in separate window not showing on Windows -
i'm developing quick proof of concept app using electron (formerly known atom-shell), while trying debug popped dev tools separate window , working while until today. can see developer tools window in windows task bar when click nothing shows up.
i've tried restarting computer, reinstalling atom, toggling developer tools via menu , alt+ctrl+i window seen.
here's relevant code of app, i've tweaked , doesn't either.
var app = require('app'); var browserwindow = require('browser-window'); require('crash-reporter').start(); var mainwindow = null; app.on('window-all-closed', function() { if(process.platform != 'darwin') { app.quit(); } }); app.on('ready', function() { mainwindow = new browserwindow({ 'width': 450, 'height': 800, 'max-width': 450, 'max-height': 800, 'min-width': 450, 'min-height': 800 }); mainwindow.loadurl('file://' + __dirname + '/app/index.html'); mainwindow.opendevtools(); mainwindow.on('closed', function() { mainwindow = null; }); });
i figured out how make appear, , in case happens else fixed pressing win+up.
Comments
Post a Comment