From 6daaf0cb6db41a0c308cd2e45e33b4afb26a9546 Mon Sep 17 00:00:00 2001 From: Daniel Sanchez Date: Sat, 16 Jan 2021 00:13:17 +0100 Subject: [PATCH] Enable dev tools to test electron build --- public/electron.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/electron.js b/public/electron.js index 92626c81..c149df06 100644 --- a/public/electron.js +++ b/public/electron.js @@ -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(''); - } + // } mainWindow.setMenu(null) mainWindow.setMenuBarVisibility(false)