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
|
```js
|
||||||
// main process: main/index.js
|
// main process: main/index.js
|
||||||
const { app } = require('electron')
|
const { app } = require('electron')
|
||||||
app.on('ready', () => {
|
app.on('ready', () => {/* ... */})
|
||||||
|
|
||||||
// ...
|
|
||||||
|
|
||||||
})
|
|
||||||
```
|
```
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue