Building a desktop application with Electron
Kristian Poslek
4.8K69

Very nice article. This my first foray into Electron. I appears that Electron has gone through some API churn since you wrote this. Specifically:

```

const {app} = require(‘electron’)
const {BrowserWindow} = require(‘electron’)

```

Also the `loadUrl` function has been renamed to `loadURL`

Took me some searching on the web to get your tutorial to work with the latest Electron. Thanks again.