mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
Electron 2.0.7 (#56256)
* update to Electron 2.0.7 * disable ColorCorrectRendering (for #51791)
This commit is contained in:
parent
b1eb4b73c5
commit
7ce26a4a24
2
.yarnrc
2
.yarnrc
|
@ -1,3 +1,3 @@
|
||||||
disturl "https://atom.io/download/electron"
|
disturl "https://atom.io/download/electron"
|
||||||
target "2.0.5"
|
target "2.0.7"
|
||||||
runtime "electron"
|
runtime "electron"
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "electron",
|
"name": "electron",
|
||||||
"version": "2.0.5",
|
"version": "2.0.7",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repositoryURL": "https://github.com/electron/electron",
|
"repositoryURL": "https://github.com/electron/electron",
|
||||||
"isProd": true
|
"isProd": true
|
||||||
|
|
|
@ -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
|
// TODO@Ben Electron 2.0.x: prevent localStorage migration from SQLite to LevelDB due to issues
|
||||||
app.commandLine.appendSwitch('disable-mojo-local-storage');
|
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)
|
// Force pre-Chrome-60 color profile handling (for https://github.com/Microsoft/vscode/issues/51791)
|
||||||
// This also seems to fix: https://github.com/Microsoft/vscode/issues/48043
|
app.commandLine.appendSwitch('disable-features', 'ColorCorrectRendering');
|
||||||
app.commandLine.appendSwitch('force-color-profile', 'srgb');
|
|
||||||
|
|
||||||
const minimist = require('minimist');
|
const minimist = require('minimist');
|
||||||
const paths = require('./paths');
|
const paths = require('./paths');
|
||||||
|
|
Loading…
Reference in a new issue