events in electron

This commit is contained in:
antelle 2019-09-21 07:39:03 +02:00
parent 966097e1ff
commit 22f5e61978
2 changed files with 2 additions and 2 deletions

View File

@ -310,4 +310,6 @@ if (window.launcherOpenedFile) {
}
Events.on('app-ready', () => setTimeout(() => Launcher.checkOpenFiles(), 0));
global.Events = Events;
export { Launcher };

View File

@ -9,6 +9,4 @@ class Events extends EventEmitter {
const instance = new Events();
global.Events = instance;
export { instance as Events };