chore(electron): upgrade electron to v32 (#8235)

workaround provided by https://github.com/electron/electron/issues/43556
This commit is contained in:
pengx17
2024-09-13 04:23:10 +00:00
parent 8800abded7
commit df87300a3f
5 changed files with 12 additions and 10 deletions

View File

@@ -53,7 +53,7 @@
"builder-util-runtime": "^9.2.5-alpha.2",
"core-js": "^3.36.1",
"cross-env": "^7.0.3",
"electron": "^31.0.0",
"electron": "^32.0.0",
"electron-log": "^5.1.2",
"electron-squirrel-startup": "1.0.1",
"electron-window-state": "^5.0.3",

View File

@@ -22,6 +22,8 @@ import { launchStage } from './windows-manager/stage';
app.enableSandbox();
app.commandLine.appendSwitch('enable-features', 'CSSTextAutoSpace');
// https://github.com/electron/electron/issues/43556
app.commandLine.appendSwitch('disable-features', 'PlzDedicatedWorker');
// use the same data for internal & beta for testing
if (overrideSession) {

View File

@@ -9,6 +9,6 @@
},
"devDependencies": {
"@toeverything/infra": "workspace:*",
"electron": "^31.0.0"
"electron": "^32.0.0"
}
}