diff --git a/src/main/createTray.js b/src/main/createTray.js index ba12aeb60..c8ed9ba95 100644 --- a/src/main/createTray.js +++ b/src/main/createTray.js @@ -1,4 +1,4 @@ -import { app, Menu, Tray as ElectronTray } from 'electron'; +import { app, Menu, Tray } from 'electron'; import path from 'path'; export default window => { @@ -17,7 +17,7 @@ export default window => { } } - const tray = new ElectronTray(iconPath); + const tray = new Tray(iconPath); tray.on('double-click', () => { window.show();