Electron 2.0.7 (#56256)

* update to Electron 2.0.7

* disable ColorCorrectRendering (for #51791)
This commit is contained in:
Benjamin Pasero 2018-08-13 13:31:52 +02:00 committed by GitHub
parent b1eb4b73c5
commit 7ce26a4a24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 5 deletions

View file

@ -1,3 +1,3 @@
disturl "https://atom.io/download/electron"
target "2.0.5"
target "2.0.7"
runtime "electron"

View file

@ -51,7 +51,7 @@
},
{
"name": "electron",
"version": "2.0.5",
"version": "2.0.7",
"license": "MIT",
"repositoryURL": "https://github.com/electron/electron",
"isProd": true

View file

@ -81,9 +81,8 @@ const app = require('electron').app;
// TODO@Ben Electron 2.0.x: prevent localStorage migration from SQLite to LevelDB due to issues
app.commandLine.appendSwitch('disable-mojo-local-storage');
// TODO@Ben Electron 2.0.x: force srgb color profile (for https://github.com/Microsoft/vscode/issues/51791)
// This also seems to fix: https://github.com/Microsoft/vscode/issues/48043
app.commandLine.appendSwitch('force-color-profile', 'srgb');
// Force pre-Chrome-60 color profile handling (for https://github.com/Microsoft/vscode/issues/51791)
app.commandLine.appendSwitch('disable-features', 'ColorCorrectRendering');
const minimist = require('minimist');
const paths = require('./paths');