feat(deps): core update

This commit is contained in:
Alexey Kasyanchuk
2019-07-21 00:19:48 +03:00
parent d53c0a558b
commit e575e3f7c8
4 changed files with 916 additions and 264 deletions

View File

@ -177,7 +177,10 @@ app.on("ready", async () => {
mainWindow = createWindow("main", {
width: 1000,
height: 600
height: 600,
webPreferences: {
nodeIntegration: true
}
});
// Need for db patcher, to close application

View File

@ -12,7 +12,10 @@ export const aboutMenuTemplateFunc = () => ({
click: () => {
const win = new BrowserWindow({
parent: BrowserWindow.getFocusedWindow(),
modal: true
modal: true,
webPreferences: {
nodeIntegration: true
}
})
win.setMenu(null)
win.loadURL(url.format({