Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zardoy/electron-tray-demo

Great electron tray demo
https://github.com/zardoy/electron-tray-demo

electron electron-demo electron-react-typescript electron-tray-app material-ui react-electron react-electron-app

Last synced: 21 days ago
JSON representation

Great electron tray demo

Awesome Lists containing this project

README

        

# Electron Tray Demo

Simple [electron](https://www.electronjs.org/) tray demo.

![screenshot](docs-assets/screenshot.png)

> I use this demo to improve react-electron boilerplate.

- [Electron Tray Demo](#electron-tray-demo)
- [Development](#development)
- [πŸ“ Folder structure](#-folder-structure)
- [How to start](#how-to-start)

## Development

### πŸ“ Folder structure

```text
β”œβ”€β”€πŸ“src/ < All source code
β”‚ β”œβ”€β”€πŸ“electron/ < Electron (main process)
β”‚ β”œβ”€β”€πŸ“react/ < React (renderer process)
β”‚ β”œβ”€β”€πŸ“react/electron-shared/ < Shared (commonly used for IPC types)
```

### How to start

1. Install dependencies: `yarn` or `npm install`
2. In VSCode press `CMD`(`CTRL`) + `SHIFT` + `B` to run default build task, which will open two terminals for development (electron - main and react - renderer)