Commit 01ecde88 authored by akiraohgaki's avatar akiraohgaki

Open devtools before load page

parent bb3fd8a3
......@@ -87,7 +87,10 @@ function createWindow() {
}
});
if (!isDebugMode) {
if (isDebugMode) {
mainWindow.webContents.openDevTools({mode: 'detach'});
}
else {
mainWindow.setMenu(null);
}
......@@ -106,10 +109,6 @@ function createWindow() {
}
});
if (isDebugMode) {
mainWindow.webContents.openDevTools({mode: 'detach'});
}
createView();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment