From cb5ef44d3f8f91bb081e5f41db4f538048dc03a0 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 30 Oct 2019 14:33:20 +0000 Subject: [PATCH] Remove outdated workaround which on modern electron makes window not show --- electron_app/src/electron-main.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/electron_app/src/electron-main.js b/electron_app/src/electron-main.js index d86ddbfb..089ee804 100644 --- a/electron_app/src/electron-main.js +++ b/electron_app/src/electron-main.js @@ -373,10 +373,6 @@ app.on('ready', () => { mainWindow.loadURL('vector://vector/webapp/'); Menu.setApplicationMenu(vectorMenu); - // explicitly hide because setApplicationMenu on Linux otherwise shows... - // https://github.com/electron/electron/issues/9621 - mainWindow.hide(); - // Create trayIcon icon if (store.get('minimizeToTray', true)) tray.create(trayConfig);