mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-04 08:38:34 +00:00
chore(electron): upgrade electron to v32 (#8235)
workaround provided by https://github.com/electron/electron/issues/43556
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
"@vitest/coverage-istanbul": "2.0.5",
|
||||
"@vitest/ui": "2.0.5",
|
||||
"cross-env": "^7.0.3",
|
||||
"electron": "^31.0.0",
|
||||
"electron": "^32.0.0",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-import-x": "^0.5.0",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -9,6 +9,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@toeverything/infra": "workspace:*",
|
||||
"electron": "^31.0.0"
|
||||
"electron": "^32.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
14
yarn.lock
14
yarn.lock
@@ -539,7 +539,7 @@ __metadata:
|
||||
resolution: "@affine/electron-api@workspace:packages/frontend/electron-api"
|
||||
dependencies:
|
||||
"@toeverything/infra": "workspace:*"
|
||||
electron: "npm:^31.0.0"
|
||||
electron: "npm:^32.0.0"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@@ -578,7 +578,7 @@ __metadata:
|
||||
builder-util-runtime: "npm:^9.2.5-alpha.2"
|
||||
core-js: "npm:^3.36.1"
|
||||
cross-env: "npm:^7.0.3"
|
||||
electron: "npm:^31.0.0"
|
||||
electron: "npm:^32.0.0"
|
||||
electron-log: "npm:^5.1.2"
|
||||
electron-squirrel-startup: "npm:1.0.1"
|
||||
electron-updater: "npm:^6.2.1"
|
||||
@@ -726,7 +726,7 @@ __metadata:
|
||||
"@vitest/coverage-istanbul": "npm:2.0.5"
|
||||
"@vitest/ui": "npm:2.0.5"
|
||||
cross-env: "npm:^7.0.3"
|
||||
electron: "npm:^31.0.0"
|
||||
electron: "npm:^32.0.0"
|
||||
eslint: "npm:^8.57.0"
|
||||
eslint-config-prettier: "npm:^9.1.0"
|
||||
eslint-plugin-import-x: "npm:^0.5.0"
|
||||
@@ -20656,16 +20656,16 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"electron@npm:^31.0.0":
|
||||
version: 31.4.0
|
||||
resolution: "electron@npm:31.4.0"
|
||||
"electron@npm:^32.0.0":
|
||||
version: 32.1.0
|
||||
resolution: "electron@npm:32.1.0"
|
||||
dependencies:
|
||||
"@electron/get": "npm:^2.0.0"
|
||||
"@types/node": "npm:^20.9.0"
|
||||
extract-zip: "npm:^2.0.1"
|
||||
bin:
|
||||
electron: cli.js
|
||||
checksum: 10/445bf8b04f0f8fcc16da4832634507c01bbdd6733ef8236e2216f8f4667d070115d41b7bd28f73ca91f819a720a629e1cbea08b079fa7bde424fd24b6aef4499
|
||||
checksum: 10/88338c4820968946469518b0ff5d7256a97525a5ac3ff23c56e25b28dbdd9ae319e4164f21f22623fa5d0f7d52c8c3afb6b2bea573d88b3566f3255d123d2cf0
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
||||
Reference in New Issue
Block a user