diff --git a/gui/main.js b/gui/main.js index b61a8b7f..717e5658 100644 --- a/gui/main.js +++ b/gui/main.js @@ -48,13 +48,14 @@ var daemonProcess = null; function createWindow() { win = new BrowserWindow({ width: 1220, - height: 920, + height: 830, autoHideMenuBar: true, icon: __dirname + '/src/app-icon.png', webPreferences: { //preload: path.join(__dirname, 'preload-main.js'), preload: require.resolve('./preload-main.js'), nodeIntegration: true, + nativeWindowOpen: true, contextIsolation: false, enableRemoteModule: false, //https://stackoverflow.com/questions/53390798/opening-new-window-electron/53393655 https://github.com/electron/remote }