更新
This commit is contained in:
parent
0e6567d8d0
commit
be1ca3db02
@ -8,7 +8,6 @@
|
||||
git clone --depth 1 https://git.unvec.site/stevenhobs/vscode-patch ~/.vscode-patch
|
||||
```
|
||||
|
||||
2. 添加执行权限 `chmod +x -r ~/.vscode-patch`
|
||||
2. 添加执行权限 `chmod -R +751 ~/.vscode-patch`
|
||||
|
||||
3. 补丁VSCode `~/.vscode-patch/patch-code.sh [VSCode App安装路径]`
|
||||
|
||||
|
@ -6,7 +6,11 @@ if [ ! -d "$VSCODE_PATCH_DIR/lib" ]; then
|
||||
fi
|
||||
VSCODE_APP_PATH=""
|
||||
if [ -n "$1" ]; then
|
||||
if [[ "$1" != /* ]]; then
|
||||
VSCODE_APP_PATH="$(realpath "$1")"
|
||||
else
|
||||
VSCODE_APP_PATH="$1"
|
||||
fi
|
||||
else
|
||||
read -p "指定VSCode App路径: " VSCODE_APP_PATH
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user