Building a macOS Touch Bar app using interprocess communication in Electron