Partial export processing
This commit is contained in:
@@ -14,6 +14,19 @@ const addListeners = (ipcMain, {standardIPCReply}) => {
|
||||
standardIPCReply(event, Constants.IPC_Import_Skylinks_Reply, {}, error);
|
||||
});
|
||||
});
|
||||
|
||||
ipcMain.on(Constants.IPC_Grab_Skynet_Tree, (event, data) => {
|
||||
helpers
|
||||
.grabSkynetFileTree(data.Version)
|
||||
.then(result => {
|
||||
standardIPCReply(event, Constants.IPC_Grab_Skynet_Tree_Reply, {
|
||||
Result: result,
|
||||
});
|
||||
})
|
||||
.catch(error => {
|
||||
standardIPCReply(event, Constants.IPC_Grab_Skynet_Tree_Reply, {}, error);
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
|
||||
Reference in New Issue
Block a user