mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-27 09:54:51 +00:00
Enable dev tools to test electron build
This commit is contained in:
parent
2264b1cb7e
commit
6daaf0cb6d
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user