summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2022-06-03 09:58:08 +0200
committerDavid Lönnhager <david.l@mullvad.net>2022-06-03 09:58:08 +0200
commiteaf335fc913a7d73a269e778f77b389c050be600 (patch)
tree6b4cb5308a3031395d4231d2f2b33c1a86c7cc48
parent7bf0b5dc28198682812a6c0526966b85ceb68255 (diff)
parent338c4e77e581dc0c0233dc4c23c2afc16207ebaf (diff)
downloadmullvadvpn-eaf335fc913a7d73a269e778f77b389c050be600.tar.xz
mullvadvpn-eaf335fc913a7d73a269e778f77b389c050be600.zip
Merge branch 'fix-color-profile'
-rw-r--r--CHANGELOG.md1
-rw-r--r--gui/src/main/index.ts3
2 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9c51b55e5a..43358e702a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -29,6 +29,7 @@ Line wrap the file at 100 chars. Th
### Changed
- List devices on an account sorted by creation date, oldest to newest, instead of alphabetically.
+- Display consistent colors regardless of monitor color profile.
#### Android
- Lowered default MTU to 1280 on Android.
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