Skip to content

Instantly share code, notes, and snippets.

@deepak1556 deepak1556/main.js
Created Jun 18, 2019

Embed
What would you like to do?
Font rendering check
const {app, BrowserWindow} = require('electron')
let mainWindow
function createWindow () {
// Create the browser window.
mainWindow = new BrowserWindow({
width: 800,
height: 600,
webPreferences: {
nodeIntegration: false
}
})
mainWindow.loadURL('http://roettsch.es/raster72a.html');
}
app.on('ready', createWindow)
app.on('window-all-closed', function () {
app.quit()
})
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.