f9a1dc10fe
* fix: quit when chromium is fully started * test: remove hacks on app.quit * chore: RunUntilIdle is unnecessary
7 lines
201 B
JavaScript
7 lines
201 B
JavaScript
const { WebContentsView, app, webContents } = require('electron')
|
|
app.on('ready', function () {
|
|
const web = webContents.create({})
|
|
new WebContentsView(web) // eslint-disable-line
|
|
|
|
app.quit()
|
|
})
|