提交 e67ed673 编写于 作者: B Benjamin Pasero

Merge pull request #4559 from Microsoft/dbaeumer/4558

Fixes #4558: process.env['VSCODE_NLS_CONFIG'] set in main.js will not reach renderer under Linux
......@@ -248,7 +248,9 @@ function setupIPC(): TPromise<Server> {
getUserEnvironment()
.then(userEnv => {
assign(process.env, userEnv);
// Make sure the NLS Config travels to the rendered process
// See also https://github.com/Microsoft/vscode/issues/4558
userEnv['VSCODE_NLS_CONFIG'] = process.env['VSCODE_NLS_CONFIG'];
return setupIPC()
.then(ipcServer => main(ipcServer, userEnv));
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册