const { remote } = require('electron');
stopScreenShareWin = new remote.BrowserWindow({
width: 400,
height: 40,
show:true,
alwaysOnTop:true,
frame: false,
titleBarStyle: 'hidden',
visibleOnAllWorkspaces:true ,
webPreferences: {
nodeIntegration: true
}
});
stopScreenShareWin.loadFile('calls/screenshare-overlay.html');