mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 02:10:21 +08:00
chore: 移除devcontainer轻量环境的部分非必要依赖 (#14499)
对 devcontainer 的改动如下: 1. 在轻量环境中, - 移除 `python` 及其相关格式化扩展 `black` 和 `isort` - 移除 `black` 和 `isort` 等 pip 包 2. 在所有环境中, - 将 VS Code 的默认主题设置为 `Default Dark Modern` * chore: 移除devcontainer轻量环境的部分非必要依赖 * chore: 将编辑器默认颜色主题调整为暗色 * chore: 将空白环境的post-create脚本独立,与其它环境一致 * chore: 把maa扩展加回来
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
{
|
||||
"name": "Plain Env (Nothing Installed)",
|
||||
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
|
||||
"postCreateCommand": "git config --global --add safe.directory \"$(pwd)\" && git submodule foreach --recursive 'git config --global --add safe.directory \"$toplevel/$path\"'"
|
||||
"postCreateCommand": "bash .devcontainer/post-create.sh",
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"settings": {
|
||||
// Color theme
|
||||
"workbench.colorTheme": "Default Dark Modern"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user