mirror of
https://github.com/netzbegruenung/jitsi-meet-electron.git
synced 2024-05-04 09:43:42 +02:00
Style
This commit is contained in:
parent
c98037f9be
commit
f3b7b71c94
9
main.js
9
main.js
|
@ -1,25 +1,22 @@
|
|||
/* global __dirname, process */
|
||||
|
||||
const electron = require('electron');
|
||||
const APP = electron.app;
|
||||
const BrowserWindow = electron.BrowserWindow;
|
||||
|
||||
const isDev = require('electron-is-dev');
|
||||
|
||||
const {
|
||||
setupAlwaysOnTopMain,
|
||||
initPopupsConfigurationMain,
|
||||
getPopupTarget
|
||||
} = require('jitsi-meet-electron-utils');
|
||||
|
||||
const path = require('path');
|
||||
const URL = require('url');
|
||||
|
||||
const { app: APP, BrowserWindow } = electron;
|
||||
|
||||
|
||||
/**
|
||||
* Path to root directory
|
||||
*/
|
||||
const basePath = isDev ? __dirname : electron.app.getAppPath();
|
||||
const basePath = isDev ? __dirname : APP.getAppPath();
|
||||
|
||||
/**
|
||||
* URL for index.html which will be our entry point.
|
||||
|
|
Loading…
Reference in a new issue