Update hev-socks5-server-install.sh (#6953)

Update hev-socks5-server-install.sh
Change branch name from master to main.

https://raw.githubusercontent.com/heiher/${APPLICATION}/refs/heads/master/conf/main.yml <= 404 Not found

https://raw.githubusercontent.com/heiher/hev-socks5-server/refs/heads/main/conf/main.yml <= Correct link
This commit is contained in:
Azamat 2025-08-19 10:49:13 +05:00 committed by GitHub
parent 37e5f7272e
commit e428a05b45
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,7 +19,7 @@ curl -L -o "${APPLICATION}" "https://github.com/heiher/${APPLICATION}/releases/d
mv ${APPLICATION} /opt/${APPLICATION}
chmod +x /opt/${APPLICATION}
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
curl -L -o "main.yml" "https://raw.githubusercontent.com/heiher/${APPLICATION}/refs/heads/master/conf/main.yml"
curl -L -o "main.yml" "https://raw.githubusercontent.com/heiher/${APPLICATION}/refs/heads/main/conf/main.yml"
sed -i 's/^#auth:/auth:/; s/^# file: conf\/auth.txt/ file: \/root\/hev.creds/' main.yml
mkdir -p /etc/${APPLICATION}
USERNAME="admin"