Upgrade to Electron 43
This commit is contained in:
+12
-12
@@ -36,28 +36,28 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@fal-works/esbuild-plugin-global-externals": "^2.1.2",
|
"@fal-works/esbuild-plugin-global-externals": "^2.1.2",
|
||||||
"@stylistic/eslint-plugin": "^5.10.0",
|
"@stylistic/eslint-plugin": "^5.10.0",
|
||||||
"@types/node": "^25.5.0",
|
"@types/node": "^26.0.1",
|
||||||
"@types/react": "19.2.9",
|
"@types/react": "19.2.9",
|
||||||
"@vencord/types": "^1.14.1",
|
"@vencord/types": "^1.14.1",
|
||||||
"dotenv": "^17.3.1",
|
"dotenv": "^17.3.1",
|
||||||
"electron": "^41.0.4",
|
"electron": "^43.0.0",
|
||||||
"electron-builder": "^26.8.1",
|
"electron-builder": "^26.15.3",
|
||||||
"esbuild": "^0.27.4",
|
"esbuild": "^0.28.1",
|
||||||
"eslint": "^10.1.0",
|
"eslint": "^10.6.0",
|
||||||
"eslint-import-resolver-alias": "^1.1.2",
|
"eslint-import-resolver-alias": "^1.1.2",
|
||||||
"eslint-plugin-path-alias": "^2.1.0",
|
"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-react": "^7.37.5",
|
||||||
"eslint-plugin-simple-header": "^1.2.2",
|
"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",
|
"eslint-plugin-unused-imports": "^4.4.1",
|
||||||
"libvesktop": "link:packages/libvesktop",
|
"libvesktop": "link:packages/libvesktop",
|
||||||
"prettier": "^3.8.1",
|
"prettier": "^3.9.4",
|
||||||
"source-map-support": "^0.5.21",
|
"source-map-support": "^0.5.21",
|
||||||
"tsx": "^4.21.0",
|
"tsx": "^4.22.4",
|
||||||
"type-fest": "^5.5.0",
|
"type-fest": "^5.7.0",
|
||||||
"typescript": "^6.0.2",
|
"typescript": "^6.0.3",
|
||||||
"typescript-eslint": "^8.57.2",
|
"typescript-eslint": "^8.62.1",
|
||||||
"xml-formatter": "^3.6.7"
|
"xml-formatter": "^3.6.7"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@10.7.1",
|
"packageManager": "pnpm@10.7.1",
|
||||||
|
|||||||
Generated
+999
-900
File diff suppressed because it is too large
Load Diff
@@ -81,6 +81,11 @@ function init() {
|
|||||||
if (isLinux) {
|
if (isLinux) {
|
||||||
// Support TTS on Linux using https://wiki.archlinux.org/title/Speech_dispatcher
|
// Support TTS on Linux using https://wiki.archlinux.org/title/Speech_dispatcher
|
||||||
app.commandLine.appendSwitch("enable-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));
|
disabledFeatures.forEach(feat => enabledFeatures.delete(feat));
|
||||||
|
|||||||
Reference in New Issue
Block a user