mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
committed by
Charles Kerr
parent
243ab45111
commit
bb73a0e2cb
@@ -106,6 +106,8 @@ for the application to be ready and open a window:
|
||||
|
||||
```javascript
|
||||
const {app, BrowserWindow} = require('electron')
|
||||
const path = require('path')
|
||||
const url = require('url')
|
||||
|
||||
function createWindow () {
|
||||
// Create the browser window.
|
||||
|
||||
Reference in New Issue
Block a user