refs #1818 Change nodeIntegration to fix aboutWindow
This commit is contained in:
parent
4f372a7cca
commit
99f8493638
|
@ -1276,14 +1276,9 @@ const ApplicationMenu = (accountsChange: Array<MenuItemConstructorOptions>, menu
|
|||
click: () => {
|
||||
openAboutWindow({
|
||||
icon_path: path.resolve(__dirname, '../../build/icons/256x256.png'),
|
||||
copyright: 'Copyright (c) 2018 AkiraFukushima',
|
||||
copyright: 'Copyright (c) 2020 AkiraFukushima',
|
||||
package_json_dir: path.resolve(__dirname, '../../'),
|
||||
open_devtools: process.env.NODE_ENV !== 'production',
|
||||
win_options: {
|
||||
webPreferences: {
|
||||
nodeIntegration: true
|
||||
}
|
||||
}
|
||||
open_devtools: process.env.NODE_ENV !== 'production'
|
||||
})
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue