Skip to content

Commit

Permalink
chore: upgrade electron, to fix crash, which is not fixed in v13
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed Jul 7, 2021
1 parent 3ae404d commit bc110ae
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -121,7 +121,7 @@
"csp-html-webpack-plugin": "5.1.0",
"css-loader": "5.2.6",
"date-fns": "2.22.1",
"electron": "^13.1.6",
"electron": "^14.0.0-beta.12",
"electron-rebuild": "2.3.5",
"eslint": "7.29.0",
"eslint-config-prettier": "8.3.0",
Expand Down
1 change: 0 additions & 1 deletion src/services/view/index.ts
Expand Up @@ -226,7 +226,6 @@ export class View implements IViewService {
nativeWindowOpen: true,
nodeIntegration: false,
contextIsolation: true,
enableRemoteModule: false,
webSecurity: true,
allowRunningInsecureContent: false,
session: sessionOfView,
Expand Down
1 change: 0 additions & 1 deletion src/services/windows/index.ts
Expand Up @@ -135,7 +135,6 @@ export class Window implements IWindowService {
webPreferences: {
devTools: !isTest,
nodeIntegration: false,
enableRemoteModule: false,
webSecurity: !isDevelopmentOrTest,
allowRunningInsecureContent: false,
contextIsolation: true,
Expand Down

0 comments on commit bc110ae

Please sign in to comment.