1 Star 1 Fork 35

zhangxipeng/kylin-code

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
code.bat 671 Bytes
一键复制 编辑 原始数据 按行查看 历史
zy 提交于 2022-06-14 14:37 +08:00 . from 1.68.0
@echo off
setlocal
title VSCode Dev
pushd %~dp0\..
:: Get electron, compile, built-in extensions
if "%VSCODE_SKIP_PRELAUNCH%"=="" node build/lib/preLaunch.js
for /f "tokens=2 delims=:," %%a in ('findstr /R /C:"\"nameShort\":.*" product.json') do set NAMESHORT=%%~a
set NAMESHORT=%NAMESHORT: "=%
set NAMESHORT=%NAMESHORT:"=%.exe
set CODE=".build\electron\%NAMESHORT%"
:: Manage built-in extensions
if "%~1"=="--builtin" goto builtin
:: Configuration
set NODE_ENV=development
set VSCODE_DEV=1
set VSCODE_CLI=1
set ELECTRON_ENABLE_LOGGING=1
set ELECTRON_ENABLE_STACK_DUMPING=1
:: Launch Code
%CODE% . %*
goto end
:builtin
%CODE% build/builtin
:end
popd
endlocal
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/linux-ape/kylin-code.git
git@gitee.com:linux-ape/kylin-code.git
linux-ape
kylin-code
kylin-code
master

搜索帮助