mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
electron upgrade
This commit is contained in:
parent
cc317c2433
commit
6ac2122c76
@ -47,7 +47,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"copyfiles": "^2.2.0",
|
"copyfiles": "^2.2.0",
|
||||||
"cross-env": "^6.0.3",
|
"cross-env": "^6.0.3",
|
||||||
"electron": "8.1.1",
|
"electron": "11.1.1",
|
||||||
"electron-builder": "22.9.1"
|
"electron-builder": "22.9.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -118,11 +118,12 @@ function createWindow() {
|
|||||||
width: 1200,
|
width: 1200,
|
||||||
height: 800,
|
height: 800,
|
||||||
title: 'DbGate',
|
title: 'DbGate',
|
||||||
icon: os.platform() == 'win32' ? 'icon.ico' : 'icon512.png',
|
icon: os.platform() == 'win32' ? 'icon.ico' : 'icon.png',
|
||||||
...bounds,
|
...bounds,
|
||||||
show: false,
|
show: false,
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
nodeIntegration: true,
|
nodeIntegration: true,
|
||||||
|
enableRemoteModule: true,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -645,10 +645,10 @@ electron-updater@^4.3.1:
|
|||||||
lodash.isequal "^4.5.0"
|
lodash.isequal "^4.5.0"
|
||||||
semver "^7.1.3"
|
semver "^7.1.3"
|
||||||
|
|
||||||
electron@8.1.1:
|
electron@11.1.1:
|
||||||
version "8.1.1"
|
version "11.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/electron/-/electron-8.1.1.tgz#737a5af03c7b4af60b49dff7bfe1203fcbd5bf89"
|
resolved "https://registry.yarnpkg.com/electron/-/electron-11.1.1.tgz#188f036f8282798398dca9513e9bb3b10213e3aa"
|
||||||
integrity sha512-t+5zzFo7VOgckJc9YpImHJkpqeWxwpmEjywWbAa4IT5MULS7h1XU52H9gMswK/y8xc5lBNwxLhJSty/15+gi1A==
|
integrity sha512-tlbex3xosJgfileN6BAQRotevPRXB/wQIq48QeQ08tUJJrXwE72c8smsM/hbHx5eDgnbfJ2G3a60PmRjHU2NhA==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@electron/get" "^1.0.1"
|
"@electron/get" "^1.0.1"
|
||||||
"@types/node" "^12.0.12"
|
"@types/node" "^12.0.12"
|
||||||
|
Loading…
Reference in New Issue
Block a user