fix #1621: colors on Linux

This commit is contained in:
antelle 2020-10-28 20:17:13 +01:00
parent ad978d2ed3
commit 90da86ebb8
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
1 changed files with 3 additions and 0 deletions

View File

@ -618,6 +618,9 @@ function setEnv() {
app.commandLine.appendSwitch('disable-http-cache');
app.commandLine.appendSwitch('disable-gpu-shader-disk-cache');
// fixes colors on Linux, see #1621
app.commandLine.appendSwitch('force-color-profile', 'srgb');
app.allowRendererProcessReuse = true;
logProgress('setting env');