Skip to content
This repository was archived by the owner on Feb 20, 2024. It is now read-only.

Commit 0164bfb

Browse files
committed
feat(脚本): 修改hysteria的项目地址
1 parent 2f04946 commit 0164bfb

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
- 支持[Xray-core[XTLS]](https://github.com/XTLS/Xray-core)[v2ray-core](https://github.com/v2fly/v2ray-core)
3434
- 支持VLESS/Trojan前置[VLESS XTLS -> Trojan XTLS][Trojan XTLS -> VLESS XTLS]
3535
- 支持不同核心之间的配置文件互相读取
36-
- 支持 VLESS/VMess/trojan 协议
36+
- 支持 VLESS/VMess/trojan/hysteria 协议
3737
- 支持Debian、Ubuntu、Centos系统,支持主流的cpu架构。
3838
- 支持任意组合安装、支持多用户管理、支持DNS流媒体解锁、支持添加多端口、[支持任意门解锁Netflix](https://github.com/mack-a/v2ray-agent/blob/master/documents/netflix/dokodemo-unblock_netflix.md)
3939
- 支持卸载后保留tls证书

install.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1629,13 +1629,13 @@ installHysteria() {
16291629

16301630
if [[ -z "${hysteriaConfigPath}" ]]; then
16311631

1632-
version=$(curl -s https://api.github.com/repos/HyNetwork/hysteria/releases | jq -r '.[]|select (.prerelease==false)|.tag_name' | head -1)
1632+
version=$(curl -s https://api.github.com/repos/apernet/hysteria/releases | jq -r '.[]|select (.prerelease==false)|.tag_name' | head -1)
16331633

16341634
echoContent green " ---> Hysteria版本:${version}"
16351635
if wget --help | grep -q show-progress; then
1636-
wget -c -q --show-progress -P /etc/v2ray-agent/hysteria/ "https://github.com/HyNetwork/hysteria/releases/download/${version}/${hysteriaCoreCPUVendor}"
1636+
wget -c -q --show-progress -P /etc/v2ray-agent/hysteria/ "https://github.com/apernet/hysteria/releases/download/${version}/${hysteriaCoreCPUVendor}"
16371637
else
1638-
wget -c -P /etc/v2ray-agent/hysteria/ "https://github.com/HyNetwork/hysteria/releases/download/${version}/${hysteriaCoreCPUVendor}" >/dev/null 2>&1
1638+
wget -c -P /etc/v2ray-agent/hysteria/ "https://github.com/apernet/hysteria/releases/download/${version}/${hysteriaCoreCPUVendor}" >/dev/null 2>&1
16391639
fi
16401640
mv "/etc/v2ray-agent/hysteria/${hysteriaCoreCPUVendor}" /etc/v2ray-agent/hysteria/hysteria
16411641
chmod 655 /etc/v2ray-agent/hysteria/hysteria
@@ -1972,7 +1972,7 @@ installHysteriaService() {
19721972
cat <<EOF >/etc/systemd/system/hysteria.service
19731973
[Unit]
19741974
Description=Hysteria Service
1975-
Documentation=https://github.com/HyNetwork/hysteria/wiki
1975+
Documentation=https://github.com/apernet/hysteria/wiki
19761976
After=network.target nss-lookup.target
19771977
Wants=network-online.target
19781978
@@ -5432,7 +5432,7 @@ menu() {
54325432
cd "$HOME" || exit
54335433
echoContent red "\n=============================================================="
54345434
echoContent green "作者:mack-a"
5435-
echoContent green "当前版本:v2.6.12"
5435+
echoContent green "当前版本:v2.6.13"
54365436
echoContent green "Github:https://github.com/mack-a/v2ray-agent"
54375437
echoContent green "描述:八合一共存脚本\c"
54385438
showInstallStatus

shell/install_en.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1629,13 +1629,13 @@ installHysteria() {
16291629

16301630
if [[ -z "${hysteriaConfigPath}" ]]; then
16311631

1632-
version=$(curl -s https://api.github.com/repos/HyNetwork/hysteria/releases | jq -r '.[]|select (.prerelease==false)|.tag_name' | head -1)
1632+
version=$(curl -s https://api.github.com/repos/apernet/hysteria/hysteria/releases | jq -r '.[]|select (.prerelease==false)|.tag_name' | head -1)
16331633

16341634
echoContent green " ---> Hysteria version: ${version}"
16351635
if wget --help | grep -q show-progress; then
1636-
wget -c -q --show-progress -P /etc/v2ray-agent/hysteria/ "https://github.com/HyNetwork/hysteria/releases/download/${version}/${hysteriaCoreCPUVendor}"
1636+
wget -c -q --show-progress -P /etc/v2ray-agent/hysteria/ "https://github.com/apernet/hysteria/hysteria/releases/download/${version}/${hysteriaCoreCPUVendor}"
16371637
else
1638-
wget -c -P /etc/v2ray-agent/hysteria/ "https://github.com/HyNetwork/hysteria/releases/download/${version}/${hysteriaCoreCPUVendor}" >/dev/null 2>&1
1638+
wget -c -P /etc/v2ray-agent/hysteria/ "https://github.com/apernet/hysteria/hysteria/releases/download/${version}/${hysteriaCoreCPUVendor}" >/dev/null 2>&1
16391639
fi
16401640
mv "/etc/v2ray-agent/hysteria/${hysteriaCoreCPUVendor}" /etc/v2ray-agent/hysteria/hysteria
16411641
chmod 655 /etc/v2ray-agent/hysteria/hysteria
@@ -1972,7 +1972,7 @@ installHysteriaService() {
19721972
cat <<EOF >/etc/systemd/system/hysteria.service
19731973
[Unit]
19741974
Description=Hysteria Service
1975-
Documentation=https://github.com/HyNetwork/hysteria/wiki
1975+
Documentation=https://github.com/apernet/hysteria/hysteria/wiki
19761976
After=network.target nss-lookup.target
19771977
Wants=network-online.target
19781978

0 commit comments

Comments
 (0)