This commit is contained in:
Saúl Ibarra Corretgé 2018-06-16 08:36:05 +02:00 committed by Hristo Terezov
parent c98037f9be
commit f3b7b71c94

View file

@ -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.