提交 2c2c76c8 编写于 作者: D Dirk Baeumer

Fixes #4558: process.env['VSCODE_NLS_CONFIG'] set in main.js will not reach renderer under Linux

上级 42d87350
......@@ -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.
先完成此消息的编辑!
想要评论请 注册