mirror of https://github.com/keeweb/keeweb
added a check for safety
parent
90da86ebb8
commit
35e3271839
|
@ -618,8 +618,10 @@ 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');
|
||||
if (process.platform === 'linux') {
|
||||
// fixes colors on Linux, see #1621
|
||||
app.commandLine.appendSwitch('force-color-profile', 'srgb');
|
||||
}
|
||||
|
||||
app.allowRendererProcessReuse = true;
|
||||
|
||||
|
|
Loading…
Reference in New Issue