Remove outdated workaround which on modern electron makes window not show

This commit is contained in:
Michael Telatynski 2019-10-30 14:33:20 +00:00
parent 9820e59559
commit cb5ef44d3f

View file

@ -373,10 +373,6 @@ app.on('ready', () => {
mainWindow.loadURL('vector://vector/webapp/'); mainWindow.loadURL('vector://vector/webapp/');
Menu.setApplicationMenu(vectorMenu); Menu.setApplicationMenu(vectorMenu);
// explicitly hide because setApplicationMenu on Linux otherwise shows...
// https://github.com/electron/electron/issues/9621
mainWindow.hide();
// Create trayIcon icon // Create trayIcon icon
if (store.get('minimizeToTray', true)) tray.create(trayConfig); if (store.get('minimizeToTray', true)) tray.create(trayConfig);