mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2025-02-02 10:26:50 +01:00
Merge pull request #1819 from h3poteto/iss-1818
closes #1818 Change nodeIntegration to fix aboutWindow
This commit is contained in:
commit
552d7a4d15
@ -1276,14 +1276,9 @@ const ApplicationMenu = (accountsChange: Array<MenuItemConstructorOptions>, menu
|
|||||||
click: () => {
|
click: () => {
|
||||||
openAboutWindow({
|
openAboutWindow({
|
||||||
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) 2020 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…
x
Reference in New Issue
Block a user