1
0
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:
AkiraFukushima 2020-10-04 21:05:47 +09:00 committed by GitHub
commit 552d7a4d15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'
})
}
},