mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
chore(electron): upgrade electron to v32 (#8235)
workaround provided by https://github.com/electron/electron/issues/43556
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user