November 2019
Beginner
436 pages
8h 52m
English
In this section, we are going to perform a basic integration with the application menu. You are going to create a Help/About Node menu that sends the show-node-info command to the renderer process. Our React application is going to handle the command and display a simple alert box with the Ethereum node information. Later on, you can provide a more sophisticated dialog with detailed information.
Let's start with the main process and the Menu template:
const { app, BrowserWindow, Menu } = require('electron');
Menu.setApplicationMenu( Menu.buildFromTemplate([ ...
Read now
Unlock full access