Windows: Running code in a console after code.bat was run causes issues (fixes #1438)
parent
85258cc2d1
commit
1831ca39f2
|
@ -1,5 +1,6 @@
|
|||
@echo off
|
||||
setlocal
|
||||
set VSCODE_DEV=
|
||||
set ATOM_SHELL_INTERNAL_RUN_AS_NODE=1
|
||||
"%~dp0..\\Code.exe" "%~dp0code.js" %*
|
||||
endlocal
|
|
@ -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=
|
Loading…
Reference in New Issue