Skip to content

Commit cb5ef44

Browse files
committed
Remove outdated workaround which on modern electron makes window not show
1 parent 9820e59 commit cb5ef44

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎electron_app/src/electron-main.js‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -373,10 +373,6 @@ app.on('ready', () => {
373373
mainWindow.loadURL('vector://vector/webapp/');
374374
Menu.setApplicationMenu(vectorMenu);
375375

376-
// explicitly hide because setApplicationMenu on Linux otherwise shows...
377-
// https://github.com/electron/electron/issues/9621
378-
mainWindow.hide();
379-
380376
// Create trayIcon icon
381377
if (store.get('minimizeToTray', true)) tray.create(trayConfig);
382378

0 commit comments

Comments
 (0)