git clone https://github.com/VSCodium/vscodium.git
修改点:
1.get_repo.sh
从build.env判断MS_COMMIT是否变更,未变更不拉取vscode源码
2.build/build.sh添加SKIP_PATCH="no",在上一步后,其实patch应用完成了,所以不下载vscode的时候,再次path就会不成功,从而编译exit 1
prepare_vscode.sh中修改
本人的修改后的库源码地址:https://gitee.com/zcfsky/vscodium
使用vscode打开该目录
按照docs/build.md 说明安装依赖;
需要多加两个:
sudo apt isntall libkrb5-dev
npm install -g yarn
安装过程下载使用git fetch vscode总是失败,需要多次尝试
以下是安装过程
报错:我重启vscode,重新编译通过了
编译完成:
执行./~/Projects/vscodium/VSCode-linux-x64/codium
桌面快捷方式:
[Desktop Entry] Name=VSCodium Comment=Code Editing. Redefined. GenericName=Text Editor Exec=${HOME}/Projects/vscodium/VSCode-linux-x64/codium --unity-launch %F Icon=vscodium Type=Application StartupNotify=false StartupWMClass=Code Categories=TextEditor;Development;IDE; MimeType=text/plain;inode/directory;application/x-code-workspace; Actions=new-empty-window; Keywords=vscodium; [Desktop Action new-empty-window] Name=New Empty Window Exec=${HOME}/Projects/vscodium/VSCode-linux-x64/codium --new-window %F Icon=vscodium
标签:vscode,VSCode,编译,window,build,ubuntu,vscodium From: https://www.cnblogs.com/zcfsky/p/17743715.html