make main process example shorter
This commit is contained in:
parent
2276357f72
commit
85c48a2336
1 changed files with 1 additions and 5 deletions
|
@ -159,11 +159,7 @@ project/
|
|||
```js
|
||||
// main process: main/index.js
|
||||
const { app } = require('electron')
|
||||
app.on('ready', () => {
|
||||
|
||||
// ...
|
||||
|
||||
})
|
||||
app.on('ready', () => {/* ... */})
|
||||
```
|
||||
|
||||
```js
|
||||
|
|
Loading…
Reference in a new issue