#!/bin/bash # 假设已把下载好的vscode-server-linux-x64.tar.gz放到~目录下 echo "Enter commit hash:" read hash tar zxvf vscode-server-linux-x64.tar.gz rm -rf ~/.vscode-server/bin/* mv vscode-server-linux-x64 ~/.vscode-server/bin/ mv ~/.vscode-server/bin/vscode-server-linux-x64...