Skip to content

Commit

Permalink
Use the new Github proxy source (#286)
Browse files Browse the repository at this point in the history
* replace proxy of github release

* replace proxy of github release
  • Loading branch information
BnqDzj authored Nov 8, 2023
1 parent c2893b9 commit 34d4e37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/.vuepress/public/v2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ BLUE_COLOR='\e[1;34m'
PINK_COLOR='\e[1;35m'
SHAN='\e[1;33;5m'
RES='\e[0m'
GH_PROXY='https://github.abskoop.workers.dev/'
GH_PROXY='https://gh-proxy.com/'
clear

# Get platform
Expand Down Expand Up @@ -221,4 +221,4 @@ if [ "$1" = "uninstall" ];then
fi
else
echo -e "${RED_COLOR} 错误的命令${RES}"
fi
fi
4 changes: 2 additions & 2 deletions docs/.vuepress/public/v3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ elif [ "$platform" = "aarch64" ]; then
ARCH=arm64
fi

GH_PROXY='https://github.abskoop.workers.dev/'
GH_PROXY='https://gh-proxy.com/'

if [ "$(id -u)" != "0" ]; then
echo -e "\r\n${RED_COLOR}出错了,请使用 root 权限重试!${RES}\r\n" 1>&2
Expand Down Expand Up @@ -246,4 +246,4 @@ elif [ "$1" = "install" ]; then
fi
else
echo -e "${RED_COLOR} 错误的命令${RES}"
fi
fi

0 comments on commit 34d4e37

Please sign in to comment.