Upgrade to Electron 43

This commit is contained in:
Vendicated
2026-07-01 02:25:02 +02:00
parent 61ecf66936
commit 0fd9aa27e3
3 changed files with 1016 additions and 912 deletions
+12 -12
View File
@@ -36,28 +36,28 @@
"devDependencies": {
"@fal-works/esbuild-plugin-global-externals": "^2.1.2",
"@stylistic/eslint-plugin": "^5.10.0",
"@types/node": "^25.5.0",
"@types/node": "^26.0.1",
"@types/react": "19.2.9",
"@vencord/types": "^1.14.1",
"dotenv": "^17.3.1",
"electron": "^41.0.4",
"electron-builder": "^26.8.1",
"esbuild": "^0.27.4",
"eslint": "^10.1.0",
"electron": "^43.0.0",
"electron-builder": "^26.15.3",
"esbuild": "^0.28.1",
"eslint": "^10.6.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-path-alias": "^2.1.0",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-prettier": "^5.5.6",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-simple-header": "^1.2.2",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-simple-import-sort": "^13.0.0",
"eslint-plugin-unused-imports": "^4.4.1",
"libvesktop": "link:packages/libvesktop",
"prettier": "^3.8.1",
"prettier": "^3.9.4",
"source-map-support": "^0.5.21",
"tsx": "^4.21.0",
"type-fest": "^5.5.0",
"typescript": "^6.0.2",
"typescript-eslint": "^8.57.2",
"tsx": "^4.22.4",
"type-fest": "^5.7.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.62.1",
"xml-formatter": "^3.6.7"
},
"packageManager": "pnpm@10.7.1",
+999 -900
View File
File diff suppressed because it is too large Load Diff
+5
View File
@@ -81,6 +81,11 @@ function init() {
if (isLinux) {
// Support TTS on Linux using https://wiki.archlinux.org/title/Speech_dispatcher
app.commandLine.appendSwitch("enable-speech-dispatcher");
// This is needed to fix washed out colours - https://github.com/electron/electron/issues/49566
// Supposed to be fixed already according to comments there, but it's just not lol, I can repro on Electron 43.0.0
// when moving the window from my main monitor (HDR - not sure if this is relevant lol) to second monitor (SDR) and back
disabledFeatures.add("WaylandWpColorManagerV1");
}
disabledFeatures.forEach(feat => enabledFeatures.delete(feat));