Rename ATOM_ ipc event prefix to ELECTRON_
This commit is contained in:
parent
577480421d
commit
8d8d5878a3
11 changed files with 86 additions and 86 deletions
|
@ -27,8 +27,8 @@ exports.getSources = function (options, callback) {
|
|||
}
|
||||
}
|
||||
id = getNextId()
|
||||
ipcRenderer.send('ATOM_BROWSER_DESKTOP_CAPTURER_GET_SOURCES', captureWindow, captureScreen, options.thumbnailSize, id)
|
||||
return ipcRenderer.once('ATOM_RENDERER_DESKTOP_CAPTURER_RESULT_' + id, function (event, sources) {
|
||||
ipcRenderer.send('ELECTRON_BROWSER_DESKTOP_CAPTURER_GET_SOURCES', captureWindow, captureScreen, options.thumbnailSize, id)
|
||||
return ipcRenderer.once('ELECTRON_RENDERER_DESKTOP_CAPTURER_RESULT_' + id, function (event, sources) {
|
||||
var source
|
||||
return callback(null, (function () {
|
||||
var i, len, results
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue