7 lines
210 B
JavaScript
7 lines
210 B
JavaScript
const { WebContentsView, app, webContents } = require('electron');
|
|
app.whenReady().then(function () {
|
|
const web = webContents.create({});
|
|
new WebContentsView(web) // eslint-disable-line
|
|
|
|
app.quit();
|
|
});
|