diff options
Diffstat (limited to 'app/preload/preload.js')
-rw-r--r-- | app/preload/preload.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/preload/preload.js b/app/preload/preload.js new file mode 100644 index 0000000..16cf79a --- /dev/null +++ b/app/preload/preload.js @@ -0,0 +1,13 @@ +const createElectronStorage = require('redux-persist-electron-storage'); +const { shell } = require('electron'); +const os = require('os'); + +const jitsiMeetElectronUtils = require('jitsi-meet-electron-utils'); + +window.jitsiNodeAPI = { + createElectronStorage, + osUserInfo: os.userInfo, + shellOpenExternal: shell.openExternal, + jitsiMeetElectronUtils +}; + |