Rename Tray import
This commit is contained in:
parent
fe76ca1bbd
commit
04523ddfe9
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue