window start smaller (500x300)
This commit is contained in:
6
index.js
6
index.js
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user