Created
June 18, 2019 19:26
-
-
Save deepak1556/8bf0442f1368db395d1a016b3dcfac7c to your computer and use it in GitHub Desktop.
Font rendering check
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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