DevTools is opened automaticaly when launching

This commit is contained in:
Cutls 2019-09-30 02:20:06 +09:00
parent 09d2839a00
commit f35710d652

View File

@ -175,6 +175,7 @@ function createWindow() {
mainWindow.maximize(); mainWindow.maximize();
} }
}) })
if (!packaged) mainWindow.toggleDevTools();
electron.session.defaultSession.clearCache(() => { }) electron.session.defaultSession.clearCache(() => { })
if (process.argv) { if (process.argv) {
if (process.argv[1]) { if (process.argv[1]) {