mirror of
https://github.com/netzbegruenung/jitsi-meet-electron.git
synced 2024-04-30 15:54:52 +02:00
chore: use require instead of global process (#741)
This commit is contained in:
parent
bc71f954ac
commit
a505107456
|
@ -1,5 +1,3 @@
|
|||
/* global process */
|
||||
|
||||
const { ipcRenderer } = require('electron');
|
||||
const { RemoteControl,
|
||||
setupScreenSharingRender,
|
||||
|
@ -8,9 +6,9 @@ const { RemoteControl,
|
|||
setupWiFiStats,
|
||||
setupPowerMonitorRender
|
||||
} = require('@jitsi/electron-sdk');
|
||||
const { platform } = require('process');
|
||||
const { openExternalLink } = require('../features/utils/openExternalLink');
|
||||
|
||||
const platform = process.platform;
|
||||
const whitelistedIpcChannels = [ 'protocol-data-msg', 'renderer-ready' ];
|
||||
|
||||
/**
|
||||
|
|
3
main.js
3
main.js
|
@ -1,4 +1,4 @@
|
|||
/* global __dirname, process */
|
||||
/* global __dirname */
|
||||
|
||||
const {
|
||||
BrowserWindow,
|
||||
|
@ -20,6 +20,7 @@ const {
|
|||
setupScreenSharingMain
|
||||
} = require('@jitsi/electron-sdk');
|
||||
const path = require('path');
|
||||
const process = require('process');
|
||||
const URL = require('url');
|
||||
const config = require('./app/features/config');
|
||||
const { openExternalLink } = require('./app/features/utils/openExternalLink');
|
||||
|
|
Loading…
Reference in a new issue