Skip to content

Instantly share code, notes, and snippets.

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

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
app.on('ready', createWindow)
app.on('window-all-closed', function () {
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.