mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
Fix paths on Windows
This commit is contained in:
parent
45633f34a9
commit
e5167eb8f2
|
@ -36,7 +36,7 @@ goto loop1
|
|||
|
||||
:after_loop
|
||||
|
||||
call "%NODE%" %INSPECT% "out\vs\server\main.js" %RESTVAR%
|
||||
call "%NODE%" %INSPECT% "out\server-main.js" %RESTVAR%
|
||||
|
||||
popd
|
||||
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
setlocal
|
||||
SET VSCODE_PATH=%~dp0..\..\..\..
|
||||
FOR /F "tokens=* USEBACKQ" %%g IN (`where /r "%VSCODE_PATH%\.build\node" node.exe`) do (SET "NODE=%%g")
|
||||
call "%NODE%" "%VSCODE_PATH%\out\vs\server\cli.js" "Code Server - Dev" "" "" "code.cmd" "--openExternal" %*
|
||||
call "%NODE%" "%VSCODE_PATH%\out\server-cli.js" "Code Server - Dev" "" "" "code.cmd" "--openExternal" %*
|
||||
endlocal
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
setlocal
|
||||
SET VSCODE_PATH=%~dp0..\..\..\..
|
||||
FOR /F "tokens=* USEBACKQ" %%g IN (`where /r "%VSCODE_PATH%\.build\node" node.exe`) do (SET "NODE=%%g")
|
||||
call "%NODE%" "%VSCODE_PATH%\out\vs\server\cli.js" "Code Server - Dev" "" "" "code.cmd" %*
|
||||
call "%NODE%" "%VSCODE_PATH%\out\server-cli.js" "Code Server - Dev" "" "" "code.cmd" %*
|
||||
endlocal
|
||||
|
|
|
@ -19,6 +19,6 @@ goto loop1
|
|||
|
||||
:after_loop
|
||||
|
||||
"%ROOT_DIR%\node.exe" %INSPECT% "%ROOT_DIR%\out\vs\server\main.js" %RESTVAR%
|
||||
"%ROOT_DIR%\node.exe" %INSPECT% "%ROOT_DIR%\out\server-main.js" %RESTVAR%
|
||||
|
||||
endlocal
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
@echo off
|
||||
setlocal
|
||||
set ROOT_DIR=%~dp0..\..
|
||||
call "%ROOT_DIR%\node.exe" "%ROOT_DIR%\out\vs\server\cli.js" "@@APPNAME@@" "@@VERSION@@" "@@COMMIT@@" "@@APPNAME@@.cmd" "--openExternal" %*
|
||||
call "%ROOT_DIR%\node.exe" "%ROOT_DIR%\out\server-cli.js" "@@APPNAME@@" "@@VERSION@@" "@@COMMIT@@" "@@APPNAME@@.cmd" "--openExternal" %*
|
||||
endlocal
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
@echo off
|
||||
setlocal
|
||||
set ROOT_DIR=%~dp0..\..
|
||||
call "%ROOT_DIR%\node.exe" "%ROOT_DIR%\out\vs\server\cli.js" "@@APPNAME@@" "@@VERSION@@" "@@COMMIT@@" "@@APPNAME@@.cmd" %*
|
||||
call "%ROOT_DIR%\node.exe" "%ROOT_DIR%\out\server-cli.js" "@@APPNAME@@" "@@VERSION@@" "@@COMMIT@@" "@@APPNAME@@.cmd" %*
|
||||
endlocal
|
||||
|
|
|
@ -19,6 +19,6 @@ goto loop1
|
|||
|
||||
:after_loop
|
||||
|
||||
"%ROOT_DIR%node.exe" %INSPECT% "%ROOT_DIR%out\vs\server\main.js" --compatibility=1.63 %RESTVAR%
|
||||
"%ROOT_DIR%node.exe" %INSPECT% "%ROOT_DIR%out\server-main.js" --compatibility=1.63 %RESTVAR%
|
||||
|
||||
endlocal
|
||||
|
|
Loading…
Reference in a new issue