refs #1012 Allow nodeIntegration for about window
This commit is contained in:
parent
bca210de80
commit
70819b7591
|
@ -1096,7 +1096,12 @@ const ApplicationMenu = (accountsChange: Array<MenuItemConstructorOptions>, i18n
|
||||||
icon_path: path.resolve(__dirname, '../../build/icons/256x256.png'),
|
icon_path: path.resolve(__dirname, '../../build/icons/256x256.png'),
|
||||||
copyright: 'Copyright (c) 2018 AkiraFukushima',
|
copyright: 'Copyright (c) 2018 AkiraFukushima',
|
||||||
package_json_dir: path.resolve(__dirname, '../../'),
|
package_json_dir: path.resolve(__dirname, '../../'),
|
||||||
open_devtools: process.env.NODE_ENV !== 'production'
|
open_devtools: process.env.NODE_ENV !== 'production',
|
||||||
|
win_options: {
|
||||||
|
webPreferences: {
|
||||||
|
nodeIntegration: true
|
||||||
|
}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue