From b1ae5b5767e0020f479e2ca83737dddb31a214c6 Mon Sep 17 00:00:00 2001 From: Even Bell <130771607+2000e@users.noreply.github.com> Date: Fri, 27 Jun 2025 09:18:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- patch-code-server.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f0ba78c..a435bcd 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ git clone --depth 1 https://git.unvec.site/stevenhobs/vscode-patch ~/.vscode-patch ``` -2. 添加执行权限 `chmod -R +751 ~/.vscode-patch` +2. 添加执行权限 `chmod -R +x ~/.vscode-patch` 3. 补丁VSCode应用程序 `~/.vscode-patch/patch-code.sh [VSCode App安装路径]` diff --git a/patch-code-server.sh b/patch-code-server.sh index bbd7ab5..91bea2d 100644 --- a/patch-code-server.sh +++ b/patch-code-server.sh @@ -28,7 +28,7 @@ EOF cat >> ~/.zprofile << EOF # VSCode 远程服务补丁库 -export VSCODE_SERVER_PATCHELF_PATH="$HOME/.vscode-patch/lib" +export VSCODE_SERVER_PATCHELF_PATH="$HOME/.vscode-patch/tools" export VSCODE_SERVER_CUSTOM_GLIBC_LINKER="$HOME/.vscode-patch/lib/ld-linux-x86-64.so.2" export VSCODE_SERVER_CUSTOM_GLIBC_PATH="$HOME/.vscode-patch/lib"