mirror of
https://github.com/keeweb/keeweb.git
synced 2024-06-27 07:45:08 +02:00
added a check for safety
This commit is contained in:
parent
90da86ebb8
commit
35e3271839
|
@ -618,8 +618,10 @@ function setEnv() {
|
||||||
app.commandLine.appendSwitch('disable-http-cache');
|
app.commandLine.appendSwitch('disable-http-cache');
|
||||||
app.commandLine.appendSwitch('disable-gpu-shader-disk-cache');
|
app.commandLine.appendSwitch('disable-gpu-shader-disk-cache');
|
||||||
|
|
||||||
// fixes colors on Linux, see #1621
|
if (process.platform === 'linux') {
|
||||||
app.commandLine.appendSwitch('force-color-profile', 'srgb');
|
// fixes colors on Linux, see #1621
|
||||||
|
app.commandLine.appendSwitch('force-color-profile', 'srgb');
|
||||||
|
}
|
||||||
|
|
||||||
app.allowRendererProcessReuse = true;
|
app.allowRendererProcessReuse = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user