Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
const {app, BrowserWindow} = require('electron')
app.on('ready', () => {
const win = new BrowserWindow()
win.loadURL('file://some/local/file.html')
// or
win.loadURL('http://example.com')
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.