mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-31 05:29:58 +01:00
Don't wait for loaded
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
c4b7e856db
commit
3b496c362b
@ -20,6 +20,4 @@ const { ipcRenderer, desktopCapturer } = require('electron');
|
||||
window.ipcRenderer = ipcRenderer;
|
||||
|
||||
// expose desktopCapturer to the render process to make screen-sharing work
|
||||
process.once('loaded', () => {
|
||||
global.desktopCapturer = desktopCapturer;
|
||||
});
|
||||
global.desktopCapturer = desktopCapturer;
|
||||
|
Loading…
x
Reference in New Issue
Block a user