From 6e3b69eade717d4bce559d5dee82c52c23ff2265 Mon Sep 17 00:00:00 2001 From: VaalaCat Date: Wed, 24 Jul 2024 14:21:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20install-coder.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install-coder.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-coder.sh b/install-coder.sh index 79a53e6..04452a8 100644 --- a/install-coder.sh +++ b/install-coder.sh @@ -396,7 +396,7 @@ install_standalone() { echoh "Installing v$VERSION of the $ARCH release from GitHub." echoh - fetch "https://mirror.ghproxy.com/https://github.com/coder/code-server/releases/download/v$VERSION/code-server-$VERSION-$OS-$ARCH.tar.gz" \ + fetch "https://github.com/coder/code-server/releases/download/v$VERSION/code-server-$VERSION-$OS-$ARCH.tar.gz" \ "$CACHE_DIR/code-server-$VERSION-$OS-$ARCH.tar.gz" # -w only works if the directory exists so try creating it first. If this @@ -554,7 +554,7 @@ command_exists() { sh_c() { echoh "+ $*" if [ ! "${DRY_RUN-}" ]; then - sh -c "HTTPS_PROXY=http://vaala:bcali@10.10.0.30:31789 HTTP_PROXY=http://vaala:bcali@10.10.0.4:31789 $*" + sh -c "HTTPS_PROXY=http://vaala:bcali@10.10.0.9:8899 HTTP_PROXY=http://vaala:bcali@10.10.0.9:8899 $*" fi }