mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-10-26 17:43:36 +00:00
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:
@@ -124,10 +124,6 @@ function createMainWindow(): Electron.BrowserWindow {
|
|||||||
return win;
|
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 () => {
|
(async () => {
|
||||||
if (!app.requestSingleInstanceLock()) {
|
if (!app.requestSingleInstanceLock()) {
|
||||||
app.quit();
|
app.quit();
|
||||||
|
|||||||
Reference in New Issue
Block a user