summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2022-06-02 13:22:35 +0200
committerDavid Lönnhager <david.l@mullvad.net>2022-06-03 09:57:06 +0200
commit338c4e77e581dc0c0233dc4c23c2afc16207ebaf (patch)
tree6b4cb5308a3031395d4231d2f2b33c1a86c7cc48 /gui
parent7bf0b5dc28198682812a6c0526966b85ceb68255 (diff)
downloadmullvadvpn-338c4e77e581dc0c0233dc4c23c2afc16207ebaf.tar.xz
mullvadvpn-338c4e77e581dc0c0233dc4c23c2afc16207ebaf.zip
Force the right color profile to be used
Diffstat (limited to 'gui')
-rw-r--r--gui/src/main/index.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/src/main/index.ts b/gui/src/main/index.ts
index dce30ff2b0..83b76292c4 100644
--- a/gui/src/main/index.ts
+++ b/gui/src/main/index.ts
@@ -275,6 +275,9 @@ class ApplicationMain {
app.commandLine.appendSwitch('wm-window-animations-disabled');
}
+ // Display correct colors regardless of monitor color profile.
+ app.commandLine.appendSwitch('force-color-profile', 'srgb');
+
this.overrideAppPaths();
// This ensures that only a single instance is running at the same time, but also exits if