window start smaller (500x300)

This commit is contained in:
Feross Aboukhadijeh
2016-03-02 18:21:44 -08:00
parent 6d95cd7285
commit 719cc3acaf

View File

@@ -55,12 +55,12 @@ function createMainWindow () {
var win = new electron.BrowserWindow({
backgroundColor: '#282828',
darkTheme: true,
height: 400,
minWidth: 360,
show: false,
title: 'WebTorrent',
titleBarStyle: 'hidden-inset',
width: 600,
minWidth: 360
width: 500,
height: 300
})
win.loadURL('file://' + path.join(__dirname, 'main', 'index.html'))
win.webContents.on('did-finish-load', function () {