1
Fork 0

Remove frame

This commit is contained in:
Jake Howard 2015-11-02 14:13:47 +00:00
parent 4d2243e6b5
commit b5bdd42ae0

View file

@ -21,7 +21,8 @@ app.on('window-all-closed', function () {
app.on('ready', function () { app.on('ready', function () {
mainWindow = new BrowserWindow({ mainWindow = new BrowserWindow({
width: 800, width: 800,
height: 600 height: 600,
frame: false
}); });
console.log(__dirname); console.log(__dirname);
mainWindow.loadUrl('file://' + __dirname + '/index.html'); mainWindow.loadUrl('file://' + __dirname + '/index.html');