mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 10:15:43 +03:00
explicitly hide because setApplicationMenu on Linux otherwise shows...
https://github.com/electron/electron/issues/9621 Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
9c25aab509
commit
c54e2a30b6
1 changed files with 4 additions and 0 deletions
|
@ -236,6 +236,10 @@ electron.app.on('ready', () => {
|
|||
mainWindow.loadURL(`file://${__dirname}/../../webapp/index.html`);
|
||||
electron.Menu.setApplicationMenu(vectorMenu);
|
||||
|
||||
// explicitly hide because setApplicationMenu on Linux otherwise shows...
|
||||
// https://github.com/electron/electron/issues/9621
|
||||
mainWindow.hide();
|
||||
|
||||
// Create trayIcon icon
|
||||
tray.create(mainWindow, {
|
||||
icon_path: iconPath,
|
||||
|
|
Loading…
Reference in a new issue