Skip to content

Commit

Permalink
Update in menu for Windows and more minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
morkro committed Dec 30, 2016
1 parent 55e7fe5 commit f88038f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions main.js
Expand Up @@ -52,9 +52,11 @@ function createMainWindow () {
center: true,
titleBarStyle: 'hidden-inset',
autoHideMenuBar: true,
backgroundColor: '#ffffff',
icon: platform === 'linux' && path.join(__dirname, config.get('icons.osx')),
show: false,
webPreferences: {
javascript: true,
preload: path.join(__dirname, 'browser.js')
}
})
Expand Down
2 changes: 1 addition & 1 deletion menu.js
Expand Up @@ -182,7 +182,7 @@ else {
{ role: 'quit' }
)
// If not on macOS, add the about menu item to help.
menu.help.unshift(
menu.help.submenu.unshift(
menu.about,
{ type: 'separator' }
)
Expand Down

0 comments on commit f88038f

Please sign in to comment.