kylin-code/resources/server/bin-dev/remote-cli/code.cmd

7 lines
253 B
Batchfile
Raw Permalink Normal View History

2022-06-14 14:37:10 +08:00
@echo off
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\server-cli.js" "Code Server - Dev" "" "" "code.cmd" %*
endlocal