mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-11-11 07:41:04 +00:00
Update browserWindow options to follow new electron api
- Use camel casing instead
This commit is contained in:
parent
2d2f107c84
commit
fcab2a9a95
@ -30,10 +30,10 @@ function createMainWindow(options, onAppQuit, setDockBadge) {
|
||||
height: mainWindowState.height,
|
||||
x: mainWindowState.x,
|
||||
y: mainWindowState.y,
|
||||
'auto-hide-menu-bar': !options.showMenuBar,
|
||||
autoHideMenuBar: !options.showMenuBar,
|
||||
// Convert dashes to spaces because on linux the app name is joined with dashes
|
||||
title: options.name,
|
||||
'web-preferences': {
|
||||
webPreferences: {
|
||||
javascript: true,
|
||||
plugins: true,
|
||||
// node globals causes problems with sites like messenger.com
|
||||
|
Loading…
Reference in New Issue
Block a user