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

1160
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -119,9 +119,9 @@
"compare-versions": "^3.1.0", "compare-versions": "^3.1.0",
"debug": "^3.1.0", "debug": "^3.1.0",
"detect-onebyte-encoding": "^1.0.2", "detect-onebyte-encoding": "^1.0.2",
"electron-context-menu": "^0.10.1", "electron-context-menu": "^0.13.0",
"electron-log": "^2.2.17", "electron-log": "^3.0.6",
"electron-updater": "^4.0.6", "electron-updater": "^4.1.2",
"fs-jetpack": "^1.2.0", "fs-jetpack": "^1.2.0",
"glob": "^7.1.2", "glob": "^7.1.2",
"google": "^2.1.0", "google": "^2.1.0",
@ -161,8 +161,8 @@
"chai": "^4.1.2", "chai": "^4.1.2",
"copy-webpack-plugin": "^4.5.2", "copy-webpack-plugin": "^4.5.2",
"css-loader": "^0.28.11", "css-loader": "^0.28.11",
"electron": "4.1.5", "electron": "5.0.7",
"electron-builder": "20.38.5", "electron-builder": "21.1.1",
"eslint": "^4.19.1", "eslint": "^4.19.1",
"eslint-plugin-react": "^7.9.1", "eslint-plugin-react": "^7.9.1",
"express": "^4.16.3", "express": "^4.16.3",

View File

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

View File

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