diff --git a/ElectronClient/app/ElectronAppWrapper.js b/ElectronClient/app/ElectronAppWrapper.js index 807ba0b8a..5f5c97c22 100644 --- a/ElectronClient/app/ElectronAppWrapper.js +++ b/ElectronClient/app/ElectronAppWrapper.js @@ -187,7 +187,7 @@ class ElectronAppWrapper { createTray(contextMenu) { try { this.tray_ = new Tray(`${this.buildDir()}/icons/${this.trayIconFilename_()}`); - this.tray_.setToolTip(this.electronApp_.getName()); + this.tray_.setToolTip(this.electronApp_.name); this.tray_.setContextMenu(contextMenu); this.tray_.on('click', () => { diff --git a/ElectronClient/app/app.js b/ElectronClient/app/app.js index 67d21a77b..7c14ebbd8 100644 --- a/ElectronClient/app/app.js +++ b/ElectronClient/app/app.js @@ -1150,7 +1150,7 @@ class Application extends BaseApplication { app.destroyTray(); } else { const contextMenu = Menu.buildFromTemplate([ - { label: _('Open %s', app.electronApp().getName()), click: () => { app.window().show(); } }, + { label: _('Open %s', app.electronApp().name), click: () => { app.window().show(); } }, { type: 'separator' }, { label: _('Exit'), click: () => { app.quit(); } }, ]);