feat(脚本): 修改hysteria的项目地址
parent
33aa6ba585
commit
abc480ed5a
|
@ -33,7 +33,7 @@
|
||||||
- 支持[Xray-core[XTLS]](https://github.com/XTLS/Xray-core)、[v2ray-core](https://github.com/v2fly/v2ray-core)
|
- 支持[Xray-core[XTLS]](https://github.com/XTLS/Xray-core)、[v2ray-core](https://github.com/v2fly/v2ray-core)
|
||||||
- 支持VLESS/Trojan前置[VLESS XTLS -> Trojan XTLS]、[Trojan XTLS -> VLESS XTLS]
|
- 支持VLESS/Trojan前置[VLESS XTLS -> Trojan XTLS]、[Trojan XTLS -> VLESS XTLS]
|
||||||
- 支持不同核心之间的配置文件互相读取
|
- 支持不同核心之间的配置文件互相读取
|
||||||
- 支持 VLESS/VMess/trojan 协议
|
- 支持 VLESS/VMess/trojan/hysteria 协议
|
||||||
- 支持Debian、Ubuntu、Centos系统,支持主流的cpu架构。
|
- 支持Debian、Ubuntu、Centos系统,支持主流的cpu架构。
|
||||||
- 支持任意组合安装、支持多用户管理、支持DNS流媒体解锁、支持添加多端口、[支持任意门解锁Netflix](https://github.com/mack-a/v2ray-agent/blob/master/documents/netflix/dokodemo-unblock_netflix.md)
|
- 支持任意组合安装、支持多用户管理、支持DNS流媒体解锁、支持添加多端口、[支持任意门解锁Netflix](https://github.com/mack-a/v2ray-agent/blob/master/documents/netflix/dokodemo-unblock_netflix.md)
|
||||||
- 支持卸载后保留tls证书
|
- 支持卸载后保留tls证书
|
||||||
|
|
10
install.sh
10
install.sh
|
@ -1629,13 +1629,13 @@ installHysteria() {
|
||||||
|
|
||||||
if [[ -z "${hysteriaConfigPath}" ]]; then
|
if [[ -z "${hysteriaConfigPath}" ]]; then
|
||||||
|
|
||||||
version=$(curl -s https://api.github.com/repos/HyNetwork/hysteria/releases | jq -r '.[]|select (.prerelease==false)|.tag_name' | head -1)
|
version=$(curl -s https://api.github.com/repos/apernet/hysteria/releases | jq -r '.[]|select (.prerelease==false)|.tag_name' | head -1)
|
||||||
|
|
||||||
echoContent green " ---> Hysteria版本:${version}"
|
echoContent green " ---> Hysteria版本:${version}"
|
||||||
if wget --help | grep -q show-progress; then
|
if wget --help | grep -q show-progress; then
|
||||||
wget -c -q --show-progress -P /etc/v2ray-agent/hysteria/ "https://github.com/HyNetwork/hysteria/releases/download/${version}/${hysteriaCoreCPUVendor}"
|
wget -c -q --show-progress -P /etc/v2ray-agent/hysteria/ "https://github.com/apernet/hysteria/releases/download/${version}/${hysteriaCoreCPUVendor}"
|
||||||
else
|
else
|
||||||
wget -c -P /etc/v2ray-agent/hysteria/ "https://github.com/HyNetwork/hysteria/releases/download/${version}/${hysteriaCoreCPUVendor}" >/dev/null 2>&1
|
wget -c -P /etc/v2ray-agent/hysteria/ "https://github.com/apernet/hysteria/releases/download/${version}/${hysteriaCoreCPUVendor}" >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
mv "/etc/v2ray-agent/hysteria/${hysteriaCoreCPUVendor}" /etc/v2ray-agent/hysteria/hysteria
|
mv "/etc/v2ray-agent/hysteria/${hysteriaCoreCPUVendor}" /etc/v2ray-agent/hysteria/hysteria
|
||||||
chmod 655 /etc/v2ray-agent/hysteria/hysteria
|
chmod 655 /etc/v2ray-agent/hysteria/hysteria
|
||||||
|
@ -1972,7 +1972,7 @@ installHysteriaService() {
|
||||||
cat <<EOF >/etc/systemd/system/hysteria.service
|
cat <<EOF >/etc/systemd/system/hysteria.service
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Hysteria Service
|
Description=Hysteria Service
|
||||||
Documentation=https://github.com/HyNetwork/hysteria/wiki
|
Documentation=https://github.com/apernet/hysteria/wiki
|
||||||
After=network.target nss-lookup.target
|
After=network.target nss-lookup.target
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
|
|
||||||
|
@ -5432,7 +5432,7 @@ menu() {
|
||||||
cd "$HOME" || exit
|
cd "$HOME" || exit
|
||||||
echoContent red "\n=============================================================="
|
echoContent red "\n=============================================================="
|
||||||
echoContent green "作者:mack-a"
|
echoContent green "作者:mack-a"
|
||||||
echoContent green "当前版本:v2.6.12"
|
echoContent green "当前版本:v2.6.13"
|
||||||
echoContent green "Github:https://github.com/mack-a/v2ray-agent"
|
echoContent green "Github:https://github.com/mack-a/v2ray-agent"
|
||||||
echoContent green "描述:八合一共存脚本\c"
|
echoContent green "描述:八合一共存脚本\c"
|
||||||
showInstallStatus
|
showInstallStatus
|
||||||
|
|
|
@ -1629,13 +1629,13 @@ installHysteria() {
|
||||||
|
|
||||||
if [[ -z "${hysteriaConfigPath}" ]]; then
|
if [[ -z "${hysteriaConfigPath}" ]]; then
|
||||||
|
|
||||||
version=$(curl -s https://api.github.com/repos/HyNetwork/hysteria/releases | jq -r '.[]|select (.prerelease==false)|.tag_name' | head -1)
|
version=$(curl -s https://api.github.com/repos/apernet/hysteria/hysteria/releases | jq -r '.[]|select (.prerelease==false)|.tag_name' | head -1)
|
||||||
|
|
||||||
echoContent green " ---> Hysteria version: ${version}"
|
echoContent green " ---> Hysteria version: ${version}"
|
||||||
if wget --help | grep -q show-progress; then
|
if wget --help | grep -q show-progress; then
|
||||||
wget -c -q --show-progress -P /etc/v2ray-agent/hysteria/ "https://github.com/HyNetwork/hysteria/releases/download/${version}/${hysteriaCoreCPUVendor}"
|
wget -c -q --show-progress -P /etc/v2ray-agent/hysteria/ "https://github.com/apernet/hysteria/hysteria/releases/download/${version}/${hysteriaCoreCPUVendor}"
|
||||||
else
|
else
|
||||||
wget -c -P /etc/v2ray-agent/hysteria/ "https://github.com/HyNetwork/hysteria/releases/download/${version}/${hysteriaCoreCPUVendor}" >/dev/null 2>&1
|
wget -c -P /etc/v2ray-agent/hysteria/ "https://github.com/apernet/hysteria/hysteria/releases/download/${version}/${hysteriaCoreCPUVendor}" >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
mv "/etc/v2ray-agent/hysteria/${hysteriaCoreCPUVendor}" /etc/v2ray-agent/hysteria/hysteria
|
mv "/etc/v2ray-agent/hysteria/${hysteriaCoreCPUVendor}" /etc/v2ray-agent/hysteria/hysteria
|
||||||
chmod 655 /etc/v2ray-agent/hysteria/hysteria
|
chmod 655 /etc/v2ray-agent/hysteria/hysteria
|
||||||
|
@ -1972,7 +1972,7 @@ installHysteriaService() {
|
||||||
cat <<EOF >/etc/systemd/system/hysteria.service
|
cat <<EOF >/etc/systemd/system/hysteria.service
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Hysteria Service
|
Description=Hysteria Service
|
||||||
Documentation=https://github.com/HyNetwork/hysteria/wiki
|
Documentation=https://github.com/apernet/hysteria/hysteria/wiki
|
||||||
After=network.target nss-lookup.target
|
After=network.target nss-lookup.target
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue