Skip to content

Commit

Permalink
Remove prod menu and set fullscreen
Browse files Browse the repository at this point in the history
  • Loading branch information
mijdavis2 committed Aug 1, 2017
1 parent 81fbfad commit 9c985a3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ function createWindow () {
height: 1000,
useContentSize: true,
width: 1434,
show: false
show: false,
fullscreen: true
})

mainWindow.loadURL(winURL)
Expand Down Expand Up @@ -55,7 +56,7 @@ app.on('activate', () => {
}
})

const { Menu } = require('electron')
// const { Menu } = require('electron')

const template = [
{
Expand Down Expand Up @@ -142,5 +143,5 @@ if (process.platform === 'darwin') {
]
}

const menu = Menu.buildFromTemplate(template)
Menu.setApplicationMenu(menu)
// const menu = Menu.buildFromTemplate(template)
// Menu.setApplicationMenu(menu)

0 comments on commit 9c985a3

Please sign in to comment.