提交 1831ca39 编写于 作者: B Benjamin Pasero

Windows: Running code in a console after code.bat was run causes issues (fixes #1438)

上级 85258cc2
@echo off
setlocal
set VSCODE_DEV=
set ATOM_SHELL_INTERNAL_RUN_AS_NODE=1
"%~dp0..\\Code.exe" "%~dp0code.js" %*
endlocal
\ No newline at end of file
......@@ -22,3 +22,10 @@ set ELECTRON_ENABLE_STACK_DUMPING=1
:: Launch Code
.\.build\electron\CodeOSS.exe . %*
popd
:: Unset environment variables after we are done
set NODE_ENV=
set VSCODE_DEV=
set ELECTRON_DEFAULT_ERROR_MODE=
set ELECTRON_ENABLE_LOGGING=
set ELECTRON_ENABLE_STACK_DUMPING=
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册