mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Remove outdated workaround which on modern electron makes window not show
This commit is contained in:
parent
9820e59559
commit
cb5ef44d3f
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user