1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

init menu after app ready

This commit is contained in:
Kyle Spearrin
2018-02-10 11:58:14 -05:00
parent 214d8f7ae8
commit 884eefd589
4 changed files with 39 additions and 33 deletions

View File

@@ -329,7 +329,7 @@ export class MenuMain {
if (process.platform === 'darwin') {
template[0].label = app.getName();
(template[0].submenu as MenuItemConstructorOptions[]).concat([
template[0].submenu = (template[0].submenu as MenuItemConstructorOptions[]).concat([
{ type: 'separator' },
{ role: 'about' },
{ type: 'separator' },