2018-09-22 12:28:50 +00:00
|
|
|
'use strict'
|
|
|
|
|
2018-06-13 16:15:34 +00:00
|
|
|
const features = process.atomBinding('features')
|
|
|
|
|
2017-03-06 14:58:10 +00:00
|
|
|
// Renderer side modules, please sort alphabetically.
|
2018-06-13 16:15:34 +00:00
|
|
|
// A module is `enabled` if there is no explicit condition defined.
|
2017-03-06 14:58:10 +00:00
|
|
|
module.exports = [
|
2018-06-13 16:15:34 +00:00
|
|
|
{
|
|
|
|
name: 'desktopCapturer',
|
|
|
|
file: 'desktop-capturer',
|
|
|
|
enabled: features.isDesktopCapturerEnabled()
|
|
|
|
},
|
2018-09-13 16:10:51 +00:00
|
|
|
{ name: 'ipcRenderer', file: 'ipc-renderer', enabled: true },
|
|
|
|
{ name: 'remote', file: 'remote', enabled: true },
|
|
|
|
{ name: 'screen', file: 'screen', enabled: true },
|
|
|
|
{ name: 'webFrame', file: 'web-frame', enabled: true }
|
2017-03-06 14:58:10 +00:00
|
|
|
]
|