Commit 2d4a53de authored by 神楽坂玲奈's avatar 神楽坂玲奈

window size

parent 80c350aa
...@@ -78,7 +78,11 @@ let mainWindow ...@@ -78,7 +78,11 @@ let mainWindow
function createWindow () { function createWindow () {
// Create the browser window. // Create the browser window.
mainWindow = new BrowserWindow({width: 800, height: 600}) mainWindow = new BrowserWindow({
width: 1024,
height: 640,
frame: process.platform == 'darwin',
'title-bar-style': process.platform == 'darwin' ? 'hidden-inset' : null})
// and load the index.html of the app. // and load the index.html of the app.
mainWindow.loadURL(`file://${__dirname}/index.html`) mainWindow.loadURL(`file://${__dirname}/index.html`)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment