Enable dev tools to test electron build

This commit is contained in:
Daniel Sanchez 2021-01-16 00:13:17 +01:00
parent 2264b1cb7e
commit 6daaf0cb6d
1 changed files with 2 additions and 2 deletions

View File

@ -102,11 +102,11 @@ function createWindow(port = DEFAULT_PORT) {
mainWindow.loadURL(isDev ? 'http://localhost:3000' : `https://localhost:${port}`)
if (isDev) {
// if (isDev) {
// Open the DevTools.
mainWindow.webContents.openDevTools()
//BrowserWindow.addDevToolsExtension('<location to your react chrome extension>');
}
// }
mainWindow.setMenu(null)
mainWindow.setMenuBarVisibility(false)