Add Electron 31/Chromium 126 workaround flag
See:https://issues.chromium.org/issues/331796411
This commit is contained in:
parent
e0453418bd
commit
43a4f272e7
1 changed files with 6 additions and 0 deletions
|
@ -42,6 +42,12 @@ function init() {
|
||||||
app.commandLine.appendSwitch("disable-smooth-scrolling");
|
app.commandLine.appendSwitch("disable-smooth-scrolling");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Disable multiplane format for software video decoding on Linux due to bug on Electron 31/Chromium 125
|
||||||
|
// https://issues.chromium.org/issues/331796411
|
||||||
|
if (process.platform == "linux") {
|
||||||
|
disabledFeatures.push("UseMultiPlaneFormatForSoftwareVideo")
|
||||||
|
}
|
||||||
|
|
||||||
// disable renderer backgrounding to prevent the app from unloading when in the background
|
// disable renderer backgrounding to prevent the app from unloading when in the background
|
||||||
// https://github.com/electron/electron/issues/2822
|
// https://github.com/electron/electron/issues/2822
|
||||||
// https://github.com/GoogleChrome/chrome-launcher/blob/5a27dd574d47a75fec0fb50f7b774ebf8a9791ba/docs/chrome-flags-for-tools.md#task-throttling
|
// https://github.com/GoogleChrome/chrome-launcher/blob/5a27dd574d47a75fec0fb50f7b774ebf8a9791ba/docs/chrome-flags-for-tools.md#task-throttling
|
||||||
|
|
Reference in a new issue