Skip to content

Content Tagged "ipc"

Page 1 of 1

Content Tagged "ipc"

Electron AppSend Menu Command to Angular App

December 9, 2016Categories: Software, Tutorial
TL;DR: In the main process use mainWindow.webContents.send('cmd') and in your Angular component ( renderer process) bind it to a method with ipcRenderer.on('cmd', this.open.bind(this)) (where open() is a method). I need to make my angular app work when a menu item is clicked (think: I…

All tags