Skip to content

Commit 7ce26a4

Browse files
authored
Electron 2.0.7 (microsoft#56256)
* update to Electron 2.0.7 * disable ColorCorrectRendering (for microsoft#51791)
1 parent b1eb4b7 commit 7ce26a4

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

.yarnrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
disturl "https://atom.io/download/electron"
2-
target "2.0.5"
2+
target "2.0.7"
33
runtime "electron"

OSSREADME.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
},
5252
{
5353
"name": "electron",
54-
"version": "2.0.5",
54+
"version": "2.0.7",
5555
"license": "MIT",
5656
"repositoryURL": "https://github.com/electron/electron",
5757
"isProd": true

src/main.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,8 @@ const app = require('electron').app;
8181
// TODO@Ben Electron 2.0.x: prevent localStorage migration from SQLite to LevelDB due to issues
8282
app.commandLine.appendSwitch('disable-mojo-local-storage');
8383

84-
// TODO@Ben Electron 2.0.x: force srgb color profile (for https://github.com/Microsoft/vscode/issues/51791)
85-
// This also seems to fix: https://github.com/Microsoft/vscode/issues/48043
86-
app.commandLine.appendSwitch('force-color-profile', 'srgb');
84+
// Force pre-Chrome-60 color profile handling (for https://github.com/Microsoft/vscode/issues/51791)
85+
app.commandLine.appendSwitch('disable-features', 'ColorCorrectRendering');
8786

8887
const minimist = require('minimist');
8988
const paths = require('./paths');

0 commit comments

Comments
 (0)