mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
* fix: quit when chromium is fully started * test: remove hacks on app.quit * chore: RunUntilIdle is unnecessary
7 lines
121 B
JavaScript
7 lines
121 B
JavaScript
const { app, webContents } = require('electron')
|
|
app.on('ready', function () {
|
|
webContents.create({})
|
|
|
|
app.quit()
|
|
})
|