mirror of https://github.com/keeweb/keeweb.git
events in electron
This commit is contained in:
parent
966097e1ff
commit
22f5e61978
|
@ -310,4 +310,6 @@ if (window.launcherOpenedFile) {
|
|||
}
|
||||
Events.on('app-ready', () => setTimeout(() => Launcher.checkOpenFiles(), 0));
|
||||
|
||||
global.Events = Events;
|
||||
|
||||
export { Launcher };
|
||||
|
|
|
@ -9,6 +9,4 @@ class Events extends EventEmitter {
|
|||
|
||||
const instance = new Events();
|
||||
|
||||
global.Events = instance;
|
||||
|
||||
export { instance as Events };
|
||||
|
|
Loading…
Reference in New Issue