make main process example shorter

This commit is contained in:
Bret Comnes 2017-03-13 17:20:11 -07:00
parent 2276357f72
commit 85c48a2336
No known key found for this signature in database
GPG key ID: 70B0BE3A1284E39F

View file

@ -159,11 +159,7 @@ project/
```js
// main process: main/index.js
const { app } = require('electron')
app.on('ready', () => {
// ...
})
app.on('ready', () => {/* ... */})
```
```js