alist
alist copied to clipboard
在一键脚本中提供关闭 GitHub Proxy 的选项
Please make sure of the following things
- [X] I have read the documentation.
- [X] I'm sure there are no duplicate issues or discussions.
- [X] I'm sure this feature is not implemented.
- [X] I'm sure it's a reasonable and popular requirement.
Description of the feature / 需求描述
在大部分网络环境中,不存在对 GitHub 资源的访问问题,依赖于代理服务反而会降低稳定性。
以 https://mirror.ghproxy.com/https://github.com/xhofe/alist/releases/latest/download/alist-linux-musl-amd64.tar.gz
这个链接为例,目前它处于 502 状态,导致一键脚本不可用,而将 GH_PROXY 变量设置为空字符串以后即可正常下载。
Suggested solution / 实现思路
添加类似于 --disable-ghproxy
的选项。
Additional context / 附件
Thanks for opening your first issue here! Be sure to follow the issue template!
有道理,不过我的建议是
curl -fsSL "https://alist.nn.ci/v3.sh" | env GH_PROXY='https://hub.gitmirror.com/' bash -s install
且在文件内抹除以下内容
GH_PROXY='https://mirror.ghproxy.com/'
才能在不设置env的情况下 直接连接到github 使用env自定义的好处是,官方不用维护增删反代列表,只需用户找到符合格式的地址进行下载就行
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hello @, this issue was closed due to inactive more than 52 days. You can reopen or recreate it if you think it should continue. Thank you for your contributions again.