Simple electron tray demo.
I use this demo to improve react-electron boilerplate.
├──📁src/ < All source code
│ ├──📁electron/ < Electron (main process)
│ ├──📁react/ < React (renderer process)
│ ├──📁react/electron-shared/ < Shared (commonly used for IPC types)
- Install dependencies:
yarn
ornpm install
- In VSCode press
CMD
(CTRL
) +SHIFT
+B
to run default build task, which will open two terminals for development (electron - main and react - renderer)