Remove color profile override.

Modern Chromium and Electron do color management correctly.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-05-02 14:09:55 -07:00
parent 07e2ebe340
commit 9f76fb295e

View File

@@ -124,10 +124,6 @@ function createMainWindow(): Electron.BrowserWindow {
return win;
}
// Temporary fix for Electron render colors differently
// More info here - https://github.com/electron/electron/issues/10732
app.commandLine.appendSwitch("force-color-profile", "srgb");
(async () => {
if (!app.requestSingleInstanceLock()) {
app.quit();